[Freeswitch-svn] [commit] r6360 - freeswitch/trunk/src/mod/languages/mod_spidermonkey
Freeswitch SVN
brian at freeswitch.org
Tue Nov 20 10:54:52 EST 2007
Author: brian
Date: Tue Nov 20 10:54:52 2007
New Revision: 6360
Modified:
freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
Log:
how did linux not complain about this
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 Nov 20 10:54:52 2007
@@ -2366,7 +2366,7 @@
*rval = STRING_TO_JSVAL(JS_NewStringCopyZ(cx, config_data.buffer));
} else {
char errmsg[256];
- snprintf(errmsg, 256, "~throw new Error(\"Curl returned error %s.\");", code);
+ snprintf(errmsg, 256, "~throw new Error(\"Curl returned error %d.\");", code);
eval_some_js(errmsg, cx, obj, rval);
}
More information about the Freeswitch-svn
mailing list