From abbcc7215477b9d9744be85e430421e687fc9724 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 25 Jul 2007 19:01:36 +0000 Subject: [PATCH] fix misassertion from a couple of revisions ago when trying to smoke out SoftwareElves' bug --- libtransmission/peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/peer.c b/libtransmission/peer.c index e4151025b..693c8710a 100644 --- a/libtransmission/peer.c +++ b/libtransmission/peer.c @@ -716,7 +716,7 @@ writeEnd: tr_free( pool ); } - assert( peer->inRequestCount <= peer->inRequestMax ); + assert( peer->inRequestCount <= peer->inRequestAlloc ); assert( peer->inRequestMax <= peer->inRequestAlloc ); return TR_OK;