projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
httpd: reduce ifdef forest. comment out redundant PATH setting
[oweals/busybox.git]
/
networking
/
nameif.c
diff --git
a/networking/nameif.c
b/networking/nameif.c
index f60a97e8b61cf12b9eabbfd3b18f3ba64f771e5f..385e7fb718e02d46a16b1c56d143639bd09e05c3 100644
(file)
--- a/
networking/nameif.c
+++ b/
networking/nameif.c
@@
-91,7
+91,7
@@
int nameif_main(int argc, char **argv)
} else {
ifh = xfopen(fname, "r");
- while ((line =
bb_get_line_from_file
(ifh)) != NULL) {
+ while ((line =
xmalloc_fgets
(ifh)) != NULL) {
char *line_ptr;
size_t name_length;