mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-19 01:45:32 +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:
parent
286d3bd0f9
commit
757990b0ae
@ -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 %s.\");", code);
|
||||
snprintf(errmsg, 256, "~throw new Error(\"Curl returned error %d.\");", code);
|
||||
eval_some_js(errmsg, cx, obj, rval);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user