initialize intercept callback to NULL

This commit is contained in:
lsalzman 2012-10-02 14:01:12 +03:00
parent 2d979ceb51
commit 77cc156305

2
host.c
View file

@ -103,6 +103,8 @@ enet_host_create (const ENetAddress * address, size_t peerCount, size_t channelL
host -> compressor.decompress = NULL; host -> compressor.decompress = NULL;
host -> compressor.destroy = NULL; host -> compressor.destroy = NULL;
host -> intercept = NULL;
enet_list_clear (& host -> dispatchQueue); enet_list_clear (& host -> dispatchQueue);
for (currentPeer = host -> peers; for (currentPeer = host -> peers;