mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 17:41:53 +00:00
fix this for everyone.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6362 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b775f6eadd
commit
e5f3cdeba6
@ -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));
|
||||
} 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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user