[Freeswitch-svn] [commit] r12115 - in freeswitch/trunk/src: . mod/languages/mod_spidermonkey

FreeSWITCH SVN brian at freeswitch.org
Tue Feb 17 13:23:29 PST 2009


Author: brian
Date: Tue Feb 17 15:23:29 2009
New Revision: 12115

Log:
5 instead of 4

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
   freeswitch/trunk/src/switch_cpp.cpp

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	Tue Feb 17 15:23:29 2009
@@ -1180,7 +1180,7 @@
 
 
 	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, ':'))) {

Modified: freeswitch/trunk/src/switch_cpp.cpp
==============================================================================
--- freeswitch/trunk/src/switch_cpp.cpp	(original)
+++ freeswitch/trunk/src/switch_cpp.cpp	Tue Feb 17 15:23:29 2009
@@ -1196,7 +1196,7 @@
     }
 
 	if (fhp) {
-		if (!strncasecmp(result, "speed", 4)) {
+		if (!strncasecmp(result, "speed", 5)) {
 			char *p;
 		
 			if ((p = strchr(result, ':'))) {



More information about the Freeswitch-svn mailing list