]> thyrsus.com Git - comparator.git/commitdiff
Verify that making comprison reports from SCFs works.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 14 Sep 2003 07:32:34 +0000 (07:32 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 14 Sep 2003 07:32:34 +0000 (07:32 +0000)
main.c

diff --git a/main.c b/main.c
index 0dfe0055b5ebcf3ff0c44c88315fbb61061edc7c..6cb1fd46b2f4a51e5baa771e7d3777b29e40a658 100644 (file)
--- 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)