projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d5049
)
ifupdown: simple code shrink
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 5 Nov 2012 12:22:56 +0000
(13:22 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 5 Nov 2012 12:22:56 +0000
(13:22 +0100)
function old new delta
execute 631 607 -24
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ifupdown.c
patch
|
blob
|
history
diff --git
a/networking/ifupdown.c
b/networking/ifupdown.c
index ad0a9971b52809a4d96ad45f46b87c623be74dae..9fc1266dae501584f1d26226f1b291a7bbfe8820 100644
(file)
--- a/
networking/ifupdown.c
+++ b/
networking/ifupdown.c
@@
-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;