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 9cca504f authored by deuce's avatar deuce

Fix JSDOCS build.

parent bfcdc66a
......@@ -701,8 +701,7 @@ js_cryptcon_attrstr_get(JSContext *cx, jsval *vp, CRYPT_CONTEXT ctx, CRYPT_ATTRI
status = cryptGetAttributeString(ctx, type, NULL, &len);
if (cryptStatusError(status)) {
*vp = JSVAL_VOID;
js_cryptcon_error(cx, ctx, status);
return JS_FALSE;
return JS_TRUE; // Do not return JS_FALSE here, or jsdocs build will break.
}
if ((val = (char *)malloc(len)) == NULL) {
JS_ReportError(cx, "malloc(%d) failure", len);
......
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