diff options
author | eihrul <eihrul> | 2007-01-12 07:00:57 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2007-01-12 07:00:57 +0000 |
commit | 54ecd741df85fec090152caaac7c912560de575c (patch) | |
tree | 9438ddd20aa220720c3db1d707d274f852a0ee82 /protocol.c | |
parent | b323663c57a71ba4d88f5296f5394355db251eaa (diff) | |
download | enet-54ecd741df85fec090152caaac7c912560de575c.tar.gz enet-54ecd741df85fec090152caaac7c912560de575c.zip |
*** empty log message ***
Diffstat (limited to 'protocol.c')
-rw-r--r-- | protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |