diff options
author | eihrul <eihrul> | 2010-05-14 23:41:14 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2010-05-14 23:41:14 +0000 |
commit | 72525fbca19d4a643ae1e0547947d4d6fa32f4b4 (patch) | |
tree | 72cdff8f56a93333d4f7655e33719635dd81653c /host.c | |
parent | 94a1e8879fd98719fcac0ba28df84c5b72d52178 (diff) | |
download | enet-72525fbca19d4a643ae1e0547947d4d6fa32f4b4.tar.gz enet-72525fbca19d4a643ae1e0547947d4d6fa32f4b4.zip |
added totalSentData, totalSentPackets, totalReceivedData, totalReceivedPackets
Diffstat (limited to 'host.c')
-rw-r--r-- | host.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -79,6 +79,11 @@ enet_host_create (const ENetAddress * address, size_t peerCount, enet_uint32 inc host -> receivedAddress.port = 0; host -> receivedDataLength = 0; + host -> totalSentData = 0; + host -> totalSentPackets = 0; + host -> totalReceivedData = 0; + host -> totalReceivedPackets = 0; + enet_list_clear (& host -> dispatchQueue); for (currentPeer = host -> peers; |