diff options
author | Lee Salzman <[email protected]> | 2013-05-12 18:29:22 +0300 |
---|---|---|
committer | Lee Salzman <[email protected]> | 2013-05-12 18:29:22 +0300 |
commit | 51f303d5e271f31e242f24e4a26583667efe57b5 (patch) | |
tree | 316ffe9e2650f2f6b959078f6effb2b7256556db | |
parent | 2d2440053d02e80ad353beefebb9879f385615fd (diff) | |
download | enet-51f303d5e271f31e242f24e4a26583667efe57b5.tar.gz enet-51f303d5e271f31e242f24e4a26583667efe57b5.zip |
another typo fix
-rw-r--r-- | peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ enet_peer_disconnect (ENetPeer * peer, enet_uint32 data) if (peer -> state == ENET_PEER_STATE_CONNECTED || peer -> state == ENET_PEER_STATE_DISCONNECT_LATER) { - enet_peer_notify_disconnect (peer); + enet_peer_on_disconnect (peer); peer -> state = ENET_PEER_STATE_DISCONNECTING; } |