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

Commit 205b3571 authored by Deucе's avatar Deucе 👌🏾

Make context defaults for with and height same as no-context ones.

parent d457835c
Pipeline #1711 passed with stage
in 30 minutes and 12 seconds
......@@ -369,6 +369,8 @@ static JSBool js_showbuf_ctx_constructor(JSContext *cx, uintN argc, jsval *argli
JS_ReportError(cx, "calloc failed");
return JS_FALSE;
p->height = INT_MAX;
p->width = INT_MAX;
if(!JS_SetPrivate(cx, obj, p)) {
JS_ReportError(cx, "JS_SetPrivate failed");
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