From 51f303d5e271f31e242f24e4a26583667efe57b5 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 12 May 2013 18:29:22 +0300 Subject: [PATCH] another typo fix --- peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }