X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=blobdiff_plain;f=recv.c;h=5204dced0e7cca479f17900f712c73092be0957b;hp=dbeb4b68bb47b3815ba8b25ecc56e41d462e8657;hb=f040b1fe921a666514b59f0374817832e11bca2d;hpb=0d0b89542d5657ecb96b02f35b1bfdd53c635cb2 diff --git a/recv.c b/recv.c index dbeb4b6..5204dce 100644 --- a/recv.c +++ b/recv.c @@ -117,7 +117,7 @@ static void update_nocheck(int accepted) { void article_done(Article *art, int whichcount) { if (whichcount>=0 && !art->missing) - art->ipf->counts[art->state][whichcount]++; + art->ipf->counts.counts[art->state][whichcount]++; if (whichcount == RC_accepted) update_nocheck(1); else if (whichcount == RC_unwanted) update_nocheck(0); @@ -242,7 +242,7 @@ 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); - art->ipf->counts[art->state][RC_accepted]++; + art->ipf->counts.counts[art->state][RC_accepted]++; art->state= art_Wanted; LIST_ADDTAIL(conn->priority, art); break;