summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlsalzman <[email protected]>2012-10-02 14:01:12 +0300
committerlsalzman <[email protected]>2012-10-02 14:01:12 +0300
commit77cc1563058adfc77dd7392bf26a0267e0b57a26 (patch)
treed98768ac03c317e97f84811e22b8067b9796b661
parent2d979ceb5111faafd2bc78dbaa8893ac36931875 (diff)
downloadenet-77cc1563058adfc77dd7392bf26a0267e0b57a26.tar.gz
enet-77cc1563058adfc77dd7392bf26a0267e0b57a26.zip
initialize intercept callback to NULL
-rw-r--r--host.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/host.c b/host.c
index 33c808a..a3317c3 100644
--- a/host.c
+++ b/host.c
@@ -103,6 +103,8 @@ enet_host_create (const ENetAddress * address, size_t peerCount, size_t channelL
host -> compressor.decompress = NULL;
host -> compressor.destroy = NULL;
+ host -> intercept = NULL;
+
enet_list_clear (& host -> dispatchQueue);
for (currentPeer = host -> peers;