summaryrefslogtreecommitdiffhomepage
path: root/host.c
diff options
context:
space:
mode:
authoreihrul <eihrul>2010-05-20 16:55:27 +0000
committereihrul <eihrul>2010-05-20 16:55:27 +0000
commite49aaf7a6fe63937e56f2efaebad3f37574fd93f (patch)
tree28e11eb3d8c633f81fa81f1019131b898c21b995 /host.c
parent72525fbca19d4a643ae1e0547947d4d6fa32f4b4 (diff)
downloadenet-e49aaf7a6fe63937e56f2efaebad3f37574fd93f.tar.gz
enet-e49aaf7a6fe63937e56f2efaebad3f37574fd93f.zip
checksum is now a run-time option
Diffstat (limited to 'host.c')
-rw-r--r--host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/host.c b/host.c
index 67accd9..447c7ac 100644
--- a/host.c
+++ b/host.c
@@ -75,6 +75,7 @@ enet_host_create (const ENetAddress * address, size_t peerCount, enet_uint32 inc
host -> peerCount = peerCount;
host -> commandCount = 0;
host -> bufferCount = 0;
+ host -> checksum = NULL;
host -> receivedAddress.host = ENET_HOST_ANY;
host -> receivedAddress.port = 0;
host -> receivedDataLength = 0;