From: Eric S. Raymond Date: Wed, 10 Sep 2003 06:15:13 +0000 (+0000) Subject: Use linecount only for line tracking. X-Git-Tag: 1.2~8 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=f2910889d663f45319973efffde8d584fb4a5954;p=comparator.git Use linecount only for line tracking. --- diff --git a/shredtree.c b/shredtree.c index 7462ada..6a5ab92 100644 --- a/shredtree.c +++ b/shredtree.c @@ -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);