From db5eb288c782656b68d6ca759adea10b2e7686fb Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 17 Feb 2009 21:23:29 +0000 Subject: [PATCH] 5 instead of 4 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12115 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_spidermonkey/mod_spidermonkey.c | 2 +- src/switch_cpp.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c index 7b08115699..c4dd0c92f2 100644 --- a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c +++ b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c @@ -1180,7 +1180,7 @@ static switch_status_t js_stream_input_callback(switch_core_session_t *session, if ((ret = JS_GetStringBytes(JS_ValueToString(cb_state->cx, cb_state->ret)))) { - if (!strncasecmp(ret, "speed", 4)) { + if (!strncasecmp(ret, "speed", 5)) { char *p; if ((p = strchr(ret, ':'))) { diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index 904dea6f1c..498d7987b6 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -1196,7 +1196,7 @@ SWITCH_DECLARE(switch_status_t) CoreSession::process_callback_result(char *resul } if (fhp) { - if (!strncasecmp(result, "speed", 4)) { + if (!strncasecmp(result, "speed", 5)) { char *p; if ((p = strchr(result, ':'))) {