aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-08 13:55:55 +0100
committerThomas White <taw@physics.org>2010-01-08 13:56:09 +0100
commit9f9b025f888e2d635f4211bf7dcfc79b98a214e0 (patch)
tree863b33d2b50d71848cfed188fb7750639502826f /src/indexamajig.c
parent20a4ae775b80f6b425a95727b08efb4c3e3226ba (diff)
Small fixes
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c1
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);