[commit] r3111 - freeswitch/trunk/src/mod/event_handlers/mod_event_socket
Author: anthm Date: Thu Oct 19 15:09:51 2006 New Revision: 3111 Modified: freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c Log: present from tony 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 Thu Oct 19 15:09:51 2006 @@ -502,12 +502,16 @@ switch_core_session_t *session; char *uuid = cmd + 8; - if (uuid) { while(*uuid == ' ') { uuid++; } - strip_cr(uuid); + + if (*uuid == '\r' || *uuid == '\n') { + uuid = NULL; + } else { + strip_cr(uuid); + } } if (!uuid) {
participants (1)
-
Freeswitch SVN