diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-12-15 12:39:25 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-12-15 12:39:25 +0100 |
commit | d6f5000c1303ca7c31759d380fe154a46bd7126b (patch) | |
tree | 8a67c768d3a94b33ce963576fc2c3f2e318afb90 /networking | |
parent | 454fe29a802f5f32b802df1a54324946d0b87669 (diff) | |
download | busybox-w32-d6f5000c1303ca7c31759d380fe154a46bd7126b.tar.gz busybox-w32-d6f5000c1303ca7c31759d380fe154a46bd7126b.tar.bz2 busybox-w32-d6f5000c1303ca7c31759d380fe154a46bd7126b.zip |
*: style fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 9c2cad231..73da26085 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -1312,8 +1312,8 @@ int ifupdown_main(int argc UNUSED_PARAM, char **argv) | |||
1312 | llist_t *iface_state = find_iface_state(state_list, iface); | 1312 | llist_t *iface_state = find_iface_state(state_list, iface); |
1313 | 1313 | ||
1314 | if (cmds == iface_up && !any_failures) { | 1314 | if (cmds == iface_up && !any_failures) { |
1315 | char * const newiface = xasprintf("%s=%s", iface, liface); | 1315 | char *newiface = xasprintf("%s=%s", iface, liface); |
1316 | if (iface_state == NULL) { | 1316 | if (!iface_state) { |
1317 | llist_add_to_end(&state_list, newiface); | 1317 | llist_add_to_end(&state_list, newiface); |
1318 | } else { | 1318 | } else { |
1319 | free(iface_state->data); | 1319 | free(iface_state->data); |