mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
initialize intercept callback to NULL
This commit is contained in:
parent
2d979ceb51
commit
77cc156305
1 changed files with 2 additions and 0 deletions
2
host.c
2
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;
|
||||
|
|
Loading…
Reference in a new issue