From 77cc1563058adfc77dd7392bf26a0267e0b57a26 Mon Sep 17 00:00:00 2001 From: lsalzman Date: Tue, 2 Oct 2012 14:01:12 +0300 Subject: [PATCH] initialize intercept callback to NULL --- host.c | 2 ++ 1 file changed, 2 insertions(+) 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;