[Freeswitch-svn] [commit] r11283 - freeswitch/trunk/src/mod/event_handlers/mod_event_socket
FreeSWITCH SVN
mikej at freeswitch.org
Mon Jan 19 09:12:07 PST 2009
Author: mikej
Date: Mon Jan 19 11:12:07 2009
New Revision: 11283
Log:
fix windows build
Modified:
freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
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 Mon Jan 19 11:12:07 2009
@@ -1163,8 +1163,6 @@
switch_set_flag_locked(listener, LFLAG_HANDLE_DISCO);
if (switch_test_flag(listener, LFLAG_LINGER)) {
char message[128] = "";
- int mlen;
- switch_size_t len;
char disco_buf[512] = "";
switch_snprintf(message, sizeof(message),
@@ -1175,7 +1173,7 @@
"Controlled-Session-UUID: %s\n"
"Content-Disposition: linger\n"
"Content-Length: %d\n\n",
- switch_core_session_get_uuid(listener->session), mlen);
+ switch_core_session_get_uuid(listener->session), (int)mlen);
len = strlen(disco_buf);
switch_socket_send(listener->sock, disco_buf, &len);
More information about the Freeswitch-svn
mailing list