mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-09 04:49:05 +00:00
how did linux not complain about this
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6360 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
286d3bd0f9
commit
757990b0ae
1 file changed
+1
-1
@@ -2366,7 +2366,7 @@ static JSBool js_fetchurl(JSContext * cx, JSObject * obj, uintN argc, jsval * ar
|
|||||||
*rval = STRING_TO_JSVAL(JS_NewStringCopyZ(cx, config_data.buffer));
|
*rval = STRING_TO_JSVAL(JS_NewStringCopyZ(cx, config_data.buffer));
|
||||||
} else {
|
} else {
|
||||||
char errmsg[256];
|
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);
|
eval_some_js(errmsg, cx, obj, rval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user