[Freeswitch-svn] [commit] r2853 - freeswitch/trunk/src/mod/event_handlers/mod_event_socket

Freeswitch SVN mikej at freeswitch.org
Wed Sep 27 21:39:42 EDT 2006


Author: mikej
Date: Wed Sep 27 21:39:42 2006
New Revision: 2853

Modified:
   freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c

Log:
types change for msvc build.

Modified: freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c	Wed Sep 27 21:39:42 2006
@@ -227,12 +227,12 @@
 
 static switch_status_t read_packet(listener_t *listener, switch_event_t **event, uint32_t timeout) 
 {
-	switch_size_t mlen;
+	switch_size_t mlen, bytes = 0;
 	char mbuf[2048] = "";
 	char buf[1024] = "";
 	switch_size_t len;
 	switch_status_t status = SWITCH_STATUS_SUCCESS;
-	int count = 0, bytes = 0;
+	int count = 0;
 	uint32_t elapsed = 0;
 	time_t start = 0;
 	void *pop;



More information about the Freeswitch-svn mailing list