From f7d32181abb441661bcc37e46c79789e1d88b3be Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 13 Sep 2003 02:00:38 +0000 Subject: [PATCH] Make the debug code know about the new types. --- report.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/report.c b/report.c index 2285b9d..72b0591 100644 --- a/report.c +++ b/report.c @@ -103,7 +103,7 @@ static int collapse_ranges(struct match_t *reduced, int nonuniques) printf("Clique beginning at %d:\n", sp - reduced); for (rp = sp->matches; rp < sp->matches + sp->nmatches; rp++) - printf("%s:%d:%d\n", rp->file, rp->hash.start, rp->hash.end); + printf("%s:%d:%d\n", rp->file->name, rp->hash.start, rp->hash.end); } #endif /* DEBUG */ @@ -140,7 +140,7 @@ static int collapse_ranges(struct match_t *reduced, int nonuniques) printf("*** Merged %d into %d\n", tp-reduced, sp-reduced); for (rp=sp->matches; rp < sp->matches+sp->nmatches; rp++) - printf("%s:%d:%d\n",rp->file,rp->hash.start,rp->hash.end); + printf("%s:%d:%d\n",rp->file->name,rp->hash.start,rp->hash.end); #endif /* DEBUG */ removed++; tp->nmatches = 0; @@ -154,7 +154,7 @@ static int collapse_ranges(struct match_t *reduced, int nonuniques) printf("Clique beginning at %d (%d):\n", sp - reduced, sp->nmatches); for (rp = sp->matches; rp < sp->matches + sp->nmatches; rp++) - printf("%s:%d:%d\n", rp->file, rp->hash.start, rp->hash.end); + printf("%s:%d:%d\n", rp->file->name, rp->hash.start, rp->hash.end); } #endif /* DEBUG */ -- 2.43.0