diff options
author | Thomas White <taw@physics.org> | 2010-01-08 13:55:55 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-01-08 13:56:09 +0100 |
commit | 9f9b025f888e2d635f4211bf7dcfc79b98a214e0 (patch) | |
tree | 863b33d2b50d71848cfed188fb7750639502826f /src/indexamajig.c | |
parent | 20a4ae775b80f6b425a95727b08efb4c3e3226ba (diff) |
Small fixes
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 69813118..76ed6ed6 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -248,6 +248,7 @@ int main(int argc, char *argv[]) int fom; rval = fgets(line, 1023, fh); + if ( rval == NULL ) continue; chomp(line); STATUS("Processing '%s'\n", line); |