*: style fixes. no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-12-15 12:39:25 +01:00
parent 454fe29a80
commit d6f5000c13
3 changed files with 10 additions and 9 deletions

View File

@@ -1312,8 +1312,8 @@ int ifupdown_main(int argc UNUSED_PARAM, char **argv)
llist_t *iface_state = find_iface_state(state_list, iface);
if (cmds == iface_up && !any_failures) {
char * const newiface = xasprintf("%s=%s", iface, liface);
if (iface_state == NULL) {
char *newiface = xasprintf("%s=%s", iface, liface);
if (!iface_state) {
llist_add_to_end(&state_list, newiface);
} else {
free(iface_state->data);