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

Commit 6385c925 authored by Rob Swindell's avatar Rob Swindell 💬

Insure outdir is never NULL

CID 319037
parent 613d4f56
......@@ -125,7 +125,7 @@ js_extract(JSContext *cx, uintN argc, jsval *arglist)
JS_ReportError(cx, "Invalid output directory specified (null or undefined)");
JSVALUE_TO_MSTRING(cx, argv[0], outdir, NULL);
if(JS_IsExceptionPending(cx)) {
if(JS_IsExceptionPending(cx) || outdir == NULL) {
return JS_FALSE;
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