[Freeswitch-trunk] [commit] r6362 - freeswitch/trunk/src/mod/languages/mod_spidermonkey
Freeswitch SVN
mikej at freeswitch.org
Tue Nov 20 11:56:43 EST 2007
Author: mikej
Date: Tue Nov 20 11:56:42 2007
New Revision: 6362
Modified:
freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
Log:
fix this for everyone.
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 11:56:42 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 %d.\");", code);
+ snprintf(errmsg, 256, "~throw new Error(\"Curl returned error %u.\");", (unsigned)code);
eval_some_js(errmsg, cx, obj, rval);
}
More information about the Freeswitch-trunk
mailing list