diff options
author | Lee Salzman <[email protected]> | 2013-03-20 00:44:14 +0200 |
---|---|---|
committer | Lee Salzman <[email protected]> | 2013-03-20 00:44:14 +0200 |
commit | bc81ba716fc797e2f1cda0a2ce2ae1c8e7e44436 (patch) | |
tree | cec57877b63c7a3967baa8d165cdbcd1aec3b653 | |
parent | 726ff6bc6d0f596b8ff067f5ac10708d385767d3 (diff) | |
parent | db685c3d4f58c63c7a0d3fb8c3e20e0a69eeea70 (diff) | |
download | enet-bc81ba716fc797e2f1cda0a2ce2ae1c8e7e44436.tar.gz enet-bc81ba716fc797e2f1cda0a2ce2ae1c8e7e44436.zip |
Merge branch 'master' of github.com:lsalzman/enet
-rw-r--r-- | protocol.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1804,7 +1804,9 @@ enet_host_service (ENetHost * host, ENetEvent * event, enet_uint32 timeout) return 1; case -1: +#ifdef ENET_DEBUG perror ("Error dispatching incoming packets"); +#endif return -1; @@ -1828,7 +1830,9 @@ enet_host_service (ENetHost * host, ENetEvent * event, enet_uint32 timeout) return 1; case -1: +#ifdef ENET_DEBUG perror ("Error sending outgoing packets"); +#endif return -1; @@ -1842,7 +1846,9 @@ enet_host_service (ENetHost * host, ENetEvent * event, enet_uint32 timeout) return 1; case -1: +#ifdef ENET_DEBUG perror ("Error receiving incoming packets"); +#endif return -1; @@ -1856,7 +1862,9 @@ enet_host_service (ENetHost * host, ENetEvent * event, enet_uint32 timeout) return 1; case -1: +#ifdef ENET_DEBUG perror ("Error sending outgoing packets"); +#endif return -1; @@ -1872,7 +1880,9 @@ enet_host_service (ENetHost * host, ENetEvent * event, enet_uint32 timeout) return 1; case -1: +#ifdef ENET_DEBUG perror ("Error dispatching incoming packets"); +#endif return -1; |