summaryrefslogtreecommitdiffhomepage
path: root/peer.c
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2013-05-12 18:29:22 +0300
committerLee Salzman <[email protected]>2013-05-12 18:29:22 +0300
commit51f303d5e271f31e242f24e4a26583667efe57b5 (patch)
tree316ffe9e2650f2f6b959078f6effb2b7256556db /peer.c
parent2d2440053d02e80ad353beefebb9879f385615fd (diff)
downloadenet-51f303d5e271f31e242f24e4a26583667efe57b5.tar.gz
enet-51f303d5e271f31e242f24e4a26583667efe57b5.zip
another typo fix
Diffstat (limited to 'peer.c')
-rw-r--r--peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.c b/peer.c
index 6a9641c..318f2c2 100644
--- a/peer.c
+++ b/peer.c
@@ -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;
}