From de54fe58ff9d61d2834611b1c6faeedf8c7a1443 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 19 Jan 2009 17:12:07 +0000 Subject: [PATCH] fix windows build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11283 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/event_handlers/mod_event_socket/mod_event_socket.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c index f5953e0968..c3ae1dfedd 100644 --- a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c +++ b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c @@ -1163,8 +1163,6 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event, 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 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event, "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);