From 54ecd741df85fec090152caaac7c912560de575c Mon Sep 17 00:00:00 2001 From: eihrul Date: Fri, 12 Jan 2007 07:00:57 +0000 Subject: *** empty log message *** --- protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocol.c') diff --git a/protocol.c b/protocol.c index 14b0d43..c41ccde 100644 --- a/protocol.c +++ b/protocol.c @@ -121,7 +121,7 @@ enet_protocol_notify_disconnect (ENetHost * host, ENetPeer * peer, ENetEvent * e if (peer -> state >= ENET_PEER_STATE_CONNECTION_PENDING) host -> recalculateBandwidthLimits = 1; - if (peer -> state < ENET_PEER_STATE_CONNECTION_SUCCEEDED) + if (peer -> state != ENET_PEER_STATE_CONNECTING && peer -> state < ENET_PEER_STATE_CONNECTION_SUCCEEDED) enet_peer_reset (peer); else if (event == NULL) -- cgit v1.2.3