X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=recv.c;h=00ec7bc22adb4644846466e04d413bc8d0b4f785;hb=854f19ae391120e6dd11c33c66250745b3d21aa7;hp=115a7831ab00c4ea7e5a5a2a8d95742264cf8b67;hpb=62a5c8052810dc6e5716c1e1e3bf63294a350167;p=innduct.git diff --git a/recv.c b/recv.c index 115a783..00ec7bc 100644 --- a/recv.c +++ b/recv.c @@ -185,8 +185,9 @@ void *peer_rd_ok(oop_source *lp, oop_read *oread, oop_rd_event ev, conn->quitting, sani); } else { LIST_REMOVE(conns,conn); - notice("C%d (now %d) idle connection closed (%s)", + info("C%d (now %d) idle connection closed (%s)", conn->fd, conns.count, conn->quitting); + notice_conns_fewer(); assert(!busy); conn_dispose(conn); } @@ -223,8 +224,9 @@ void *peer_rd_ok(oop_source *lp, oop_read *oread, oop_rd_event ev, PEERBADMSG("peer timed us out or stopped accepting articles"); LIST_REMOVE(conns,conn); - notice("C%d (now %d) idle connection closed by peer", - conns.count, conn->fd); + info("C%d (now %d) idle connection closed by peer", + conns.count, conn->fd); + notice_conns_fewer(); conn_dispose(conn); return OOP_CONTINUE;