[Freeswitch-svn] [commit] r12327 - freeswitch/trunk/src/mod/event_handlers/mod_event_socket
Author: mrene Date: Fri Feb 27 10:38:19 2009 New Revision: 12327 Log: Whitespace can be a bitch 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 Fri Feb 27 10:38:19 2009 @@ -1271,6 +1271,10 @@ acs->ack = 1; SWITCH_STANDARD_STREAM(stream); + + if (!strcasecmp(acs->api_cmd, "unload") || !strcasecmp(acs->arg, "mod_event_socket")) { + + } if ((status = switch_api_execute(acs->api_cmd, acs->arg, NULL, &stream)) == SWITCH_STATUS_SUCCESS) { reply = stream.data; @@ -1351,7 +1355,7 @@ *reply = '\0'; - if (switch_stristr("unload mod_event_socket", cmd)) { + if (switch_stristr("unload", cmd) && switch_stristr("mod_event_socket", cmd)) { cmd = cheat; }
participants (1)
-
FreeSWITCH SVN