aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/tutorial.dox
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial.dox')
-rwxr-xr-xdocs/tutorial.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial.dox b/docs/tutorial.dox
index 0cf29fd..7829d6c 100755
--- a/docs/tutorial.dox
+++ b/docs/tutorial.dox
@@ -262,7 +262,7 @@ foreign host. No event is generated.
@code
ENetEvent event;
- enet_peer_disconnect (peer);
+ enet_peer_disconnect (peer, 0);
/* Allow up to 3 seconds for the disconnect to succeed
* and drop any packets received packets.