Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit c89b0503 authored by deuce's avatar deuce
Browse files

Check the correct variable for NULL.

Should fix random js_sprintf() failures.
parent a46e6354
......@@ -49,7 +49,7 @@ js_sprintf(JSContext *cx, uint argn, uintN argc, jsval *argv)
JSVALUE_TO_MSTRING(cx, argv[argn++], op, NULL);
if(JS_IsExceptionPending(cx))
JS_ClearPendingException(cx);
if(p==NULL)
if(op==NULL)
return(NULL);
p=op;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment