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:
08abe64
)
Fixup to make warnings from the last patch go away.
author
Rob Landley
<rob@landley.net>
Wed, 1 Mar 2006 21:36:18 +0000
(21:36 -0000)
committer
Rob Landley
<rob@landley.net>
Wed, 1 Mar 2006 21:36:18 +0000
(21:36 -0000)
networking/ifupdown.c
patch
|
blob
|
history
diff --git
a/networking/ifupdown.c
b/networking/ifupdown.c
index 156ceb7abb327fbca03b3de9f48a08d68f60d3b5..9e6fc6291d17aa94a4d8196b57847ce60b62ea6d 100644
(file)
--- a/
networking/ifupdown.c
+++ b/
networking/ifupdown.c
@@
-1356,15
+1356,15
@@
extern int ifupdown_main(int argc, char **argv)
} else {
/* Remove an interface from the linked list */
if (iface_state) {
-
const llist_t *link
= iface_state->link;
+
llist_t *l
= iface_state->link;
free(iface_state->data);
iface_state->data = NULL;
iface_state->link = NULL;
- if (l
ink
) {
- iface_state->data = l
ink
->data;
- iface_state->link = l
ink
->link;
+ if (l) {
+ iface_state->data = l->data;
+ iface_state->link = l->link;
}
- free(l
ink
);
+ free(l);
}
}
}