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

Freeswitch SVN anthm at freeswitch.org
Wed Oct 31 18:29:15 EDT 2007


Author: anthm
Date: Wed Oct 31 18:29:15 2007
New Revision: 6114

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

Log:
7 not 4

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 Oct 31 18:29:15 2007
@@ -617,7 +617,7 @@
 		if (!strncasecmp(cmd, "connect", 7)) {
 			snprintf(reply, reply_len, "+OK");
 			goto done;
-		} else if (!strncasecmp(cmd, "sendmsg", 4)) {
+		} else if (!strncasecmp(cmd, "sendmsg", 7)) {
 			if (switch_test_flag(listener, LFLAG_ASYNC)) {
 				if ((status = switch_core_session_queue_private_event(listener->session, &event)) == SWITCH_STATUS_SUCCESS) {
 					snprintf(reply, reply_len, "+OK");



More information about the Freeswitch-svn mailing list