diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/write_config/symlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/write_config/symlist.c b/scripts/write_config/symlist.c index 51904bc..e0e7a1f 100644 --- a/scripts/write_config/symlist.c +++ b/scripts/write_config/symlist.c @@ -16,7 +16,7 @@ struct symlist *symlist_read(FILE * f) { int c; do { c = fgetc(f); - if (c == EOF || c == '\n') { + if (c == '\n') { w[w_pos] = '\0'; if ((size_t) id > ret->size) { ret->size *= 2; |