]> thyrsus.com Git - comparator.git/commitdiff
Use linecount only for line tracking.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 10 Sep 2003 06:15:13 +0000 (06:15 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 10 Sep 2003 06:15:13 +0000 (06:15 +0000)
shredtree.c

index 7462adacb2216bc105bc4e205393a71b012f2e39..6a5ab929e3dcd30294150bcdc0bebf02b04bc1e4 100644 (file)
@@ -158,7 +158,7 @@ void shredfile(const char *file,
            display[i-1] = display[i];
        display[shredsize-1].line = NULL;
     }
-    if (linecount < shredsize)
+    if (accepted < shredsize)
        hook(emit_chunk(display, linecount), file);
 
     free(display);