From 76e4b4ac675075e22be62935dc438139c4b17cb1 Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 19 Jul 2005 06:28:57 +0000 Subject: 2005-07-18 Martin Hunt * stp_merge.c (main): Fix dropped count calculation. --- runtime/stpd/stp_merge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/stpd/stp_merge.c') diff --git a/runtime/stpd/stp_merge.c b/runtime/stpd/stp_merge.c index 739e34cd..e9b449d2 100644 --- a/runtime/stpd/stp_merge.c +++ b/runtime/stpd/stp_merge.c @@ -99,9 +99,9 @@ int main (int argc, char *argv[]) fputc_unlocked (c, ofp); } if (min && ++count != min) { - // fprintf(stderr, "got %ld. expected %ld\n", min, count); + //fprintf(stderr, "got %ld. expected %ld\n", min, count); + dropped += min - count ; count = min; - dropped++ ; } if (fread (buf, TIMESTAMP_SIZE, 1, fp[j])) -- cgit