*: style fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user