[ENet-discuss] [patch] doxy fix
Adam D. Moss
adam at gimp.org
Tue Nov 30 13:50:03 PST 2004
Fixes the returns doc for enet_host_service().
--Adam
--
Adam D. Moss . ,,^^ adam at gimp.org http://www.foxbox.org/ co:3
-------------- next part --------------
Index: protocol.c
===================================================================
RCS file: /var/lib/cvs/enet/enet/protocol.c,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 protocol.c
--- protocol.c 20 Oct 2004 17:17:51 -0000 1.1.1.1
+++ protocol.c 30 Nov 2004 21:45:24 -0000
@@ -1184,9 +1184,9 @@
@param host host to service
@param event an event structure where event details will be placed if one occurs
@param timeout number of milliseconds that ENet should wait for events
- @retval > 1 if an event occurred within the specified time limit
+ @retval > 0 if an event occurred within the specified time limit
@retval 0 if no event occurred
- @retval < 1 on failure
+ @retval < 0 on failure
@remarks enet_host_service should be called fairly regularly for adequate performance
@ingroup host
*/
More information about the ENet-discuss
mailing list