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;