]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
5 instead of 4
authorBrian West <brian@freeswitch.org>
Tue, 17 Feb 2009 21:23:29 +0000 (21:23 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 17 Feb 2009 21:23:29 +0000 (21:23 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12115 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
src/switch_cpp.cpp

index 7b08115699fe130480323c168b84704e59e1411e..c4dd0c92f2bdf5128edaea6190cc4da564d8b61b 100644 (file)
@@ -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, ':'))) {
index 904dea6f1c86d73de5850a822dc7e8607781015f..498d7987b6ac253efd95f5454126c63d095e95fc 100644 (file)
@@ -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, ':'))) {