mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
ifupdown: simple code shrink
function old new delta execute 631 607 -24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
d2d5049c1d
commit
11181335f9
1 changed files with 2 additions and 2 deletions
|
|
@ -259,7 +259,7 @@ static char *parse(const char *command, struct interface_defn_t *ifd)
|
|||
opt_depth++;
|
||||
command += 2;
|
||||
} else {
|
||||
addstr(&result, "[", 1);
|
||||
addstr(&result, command, 1);
|
||||
command++;
|
||||
}
|
||||
break;
|
||||
|
|
@ -271,7 +271,7 @@ static char *parse(const char *command, struct interface_defn_t *ifd)
|
|||
}
|
||||
command += 2;
|
||||
} else {
|
||||
addstr(&result, "]", 1);
|
||||
addstr(&result, command, 1);
|
||||
command++;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue