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

...
 
Commits (1)
...@@ -396,8 +396,9 @@ static void js_finalize_socket(JSContext *cx, JSObject *obj) ...@@ -396,8 +396,9 @@ static void js_finalize_socket(JSContext *cx, JSObject *obj)
do_js_close(p, true); do_js_close(p, true);
if(p->hostname) if(!p->external)
free(p->hostname); free(p->set);
free(p->hostname);
free(p); free(p);
JS_SetPrivate(cx, obj, NULL); JS_SetPrivate(cx, obj, NULL);
...@@ -2817,7 +2818,6 @@ js_listening_socket_constructor(JSContext *cx, uintN argc, jsval *arglist) ...@@ -2817,7 +2818,6 @@ js_listening_socket_constructor(JSContext *cx, uintN argc, jsval *arglist)
JS_ReportError(cx, "Unable to create socket set"); JS_ReportError(cx, "Unable to create socket set");
goto fail; goto fail;
} }
// A for Digitman: "Nothing." -- DigitalMan (via Mumble)
if (obj == NULL) { if (obj == NULL) {
JSVALUE_TO_MSTRING(cx, argv[0], interface, NULL); JSVALUE_TO_MSTRING(cx, argv[0], interface, NULL);
HANDLE_PENDING(cx, interface); HANDLE_PENDING(cx, interface);
......