diff options
author | lsalzman <[email protected]> | 2012-10-02 14:01:12 +0300 |
---|---|---|
committer | lsalzman <[email protected]> | 2012-10-02 14:01:12 +0300 |
commit | 77cc1563058adfc77dd7392bf26a0267e0b57a26 (patch) | |
tree | d98768ac03c317e97f84811e22b8067b9796b661 /host.c | |
parent | 2d979ceb5111faafd2bc78dbaa8893ac36931875 (diff) | |
download | enet-77cc1563058adfc77dd7392bf26a0267e0b57a26.tar.gz enet-77cc1563058adfc77dd7392bf26a0267e0b57a26.zip |
initialize intercept callback to NULL
Diffstat (limited to 'host.c')
-rw-r--r-- | host.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |