From: Ian Jackson Date: Fri, 30 Apr 2010 19:09:44 +0000 (+0100) Subject: remove debug for missing; bug seems not to exist X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=commitdiff_plain;h=7d7928dcd4e747185acf91dae8f6fe17d705e456 remove debug for missing; bug seems not to exist --- diff --git a/backends/innduct.c b/backends/innduct.c index f28db2e..04d3399 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -2,10 +2,6 @@ * bugs * - [740] info: processed feedfile(null) read=4(+0bl,+6err) offered=5(ch5,nc0) accepted=0(ch0+nc0) unwanted=0(0id+0bd+0nc) rejected=0(0id+0bd+0nc) deferred=0(0id+0bd+0nc) missing=2(0id+2bd+0nc) connretry=0(0id+0bd+0nc) - - also unwanted should be nonzero I think - [740] warning: corrupted file: /home/ian/things/Innfeed/inn2-2.4.5/fee, offset 349: line partially blanked: in ` @050000002D130000006A0000000000000000@ missing= 1; -fprintf(stderr,"INC %d %d?%d:%d\n",(int)art->state, - !!artdata, (int)RC_sent, (int)RC_missing); art->ipf->counts[art->state][ artdata ? RC_sent : RC_missing ]++; if (conn->stream) { @@ -1569,7 +1563,6 @@ fprintf(stderr,"INC %d %d?%d:%d\n",(int)art->state, XMIT_LITERAL("\r\n"); assert(art->state == art_Unchecked); -fprintf(stderr,"INC %d %d\n",(int)art->state,(int)RC_sent); art->ipf->counts[art->state][RC_sent]++; LIST_ADDTAIL(conn->sent, art); } @@ -1667,7 +1660,6 @@ static void update_nocheck(int accepted) { } static void article_done(Conn *conn, Article *art, int whichcount) { -fprintf(stderr,"INC %d %d\n",(int)art->state,whichcount); if (!art->missing) art->ipf->counts[art->state][whichcount]++; if (whichcount == RC_accepted) update_nocheck(1); @@ -1778,7 +1770,6 @@ static void *peer_rd_ok(oop_source *lp, oop_read *oread, oop_rd_event ev, case 335: /* IHAVE says send it */ GET_ARTICLE(-1); assert(art->state == art_Unchecked); -fprintf(stderr,"INC %d %d\n",(int)art->state,(int)RC_accepted); art->ipf->counts[art->state][RC_accepted]++; art->state= art_Wanted; LIST_ADDTAIL(conn->priority, art);