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

Commit 77933477 authored by Deucе's avatar Deucе 👌🏾

Fix sizeof() target.

parent 287ee6e4
Pipeline #1875 passed with stage
in 11 minutes and 46 seconds
......@@ -1376,7 +1376,7 @@ js_handle_events(JSContext *cx, js_callback_t *cb, volatile int *terminated)
if (ev->type == JS_EVENT_SOCKET_CONNECT) {
if ((jssp = (js_socket_private_t*)JS_GetPrivate(cx, ev->cx)) != NULL) {
slen = sizeof(jssp->remote_addr.addr);
getpeername(ev->data.connect.sock, &jssp->remote_addr.addr, &slen);
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