]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
7 not 4
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 31 Oct 2007 22:29:15 +0000 (22:29 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 31 Oct 2007 22:29:15 +0000 (22:29 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6114 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/event_handlers/mod_event_socket/mod_event_socket.c

index dc47e4413974f2802a91cd7239b47a955b2a1634..7262f18d60694c60c57c9863cc8a1ee59f0a9038 100644 (file)
@@ -617,7 +617,7 @@ static switch_status_t parse_command(listener_t * listener, switch_event_t *even
                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");