From: Ian Jackson Date: Mon, 3 May 2010 01:23:37 +0000 (+0100) Subject: better stats for missing X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=commitdiff_plain;h=ab4ead2e729edcd5b23356e394b929d5afca977e better stats for missing --- diff --git a/backends/innduct.c b/backends/innduct.c index 897ec37..df2cdb9 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -462,7 +462,7 @@ struct InputFile { long autodefer; /* -1 means not doing autodefer */ int counts[art_MaxState][RCI_max]; - int readcount_ok, readcount_blank, readcount_err; + int readcount_ok, readcount_blank, readcount_err, count_nooffer_missing; char path[]; }; @@ -1560,7 +1560,7 @@ static int article_check_expired(Article *art /* must be queued, not conn */) { LIST_REMOVE(art->ipf->queue, art); art->missing= 1; - art->ipf->counts[art_Unchecked][RC_missing]++; + art->ipf->count_nooffer_missing++; article_done(art,-1); return 1; } @@ -2667,12 +2667,12 @@ static void notice_processed(InputFile *ipf, int completed, : xasprintf("%s",""); info("%s %s%s read=%d (+bl=%d,+err=%d)%s%s" - " offered=%d (ch=%d,nc=%d) accepted=%d (ch=%d,nc=%d)" + " missing=%d offered=%d (ch=%d,nc=%d) accepted=%d (ch=%d,nc=%d)" RESULT_COUNTS(RCI_NOTHING, RCI_TRIPLE_FMT) , completed?"completed":"processed", what, spec, ipf->readcount_ok, ipf->readcount_blank, ipf->readcount_err, - inprog, autodefer, + inprog, autodefer, ipf->count_nooffer_missing, CNT(Unchecked,sent) + CNT(Unsolicited,sent) , CNT(Unchecked,sent), CNT(Unsolicited,sent), CNT(Wanted,accepted) + CNT(Unsolicited,accepted)