From: Eric S. Raymond Date: Sun, 14 Sep 2003 07:32:34 +0000 (+0000) Subject: Verify that making comprison reports from SCFs works. X-Git-Tag: 1.6~34 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=bb72455cb97f71b9e581b0f5c414f5d9b576c289;p=comparator.git Verify that making comprison reports from SCFs works. --- diff --git a/main.c b/main.c index 0dfe005..6cb1fd4 100644 --- a/main.c +++ b/main.c @@ -236,6 +236,7 @@ static void read_scf(struct scf_t *scf) fprintf(stderr, "\b\b\b100%%...done, %d shreds\n", hashcount); fread(&scf->totallines, sizeof(linecount_t), 1, scf->fp); + scf->totallines = ntohl(scf->totallines); } static int merge_tree(char *tree)