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 d9f6fce4 authored by rswindell's avatar rswindell

Log value of 'writable' in "could not write to passthru socket" log msg.

May help determine if the socket is disconnected or just not writable.
parent f38e53a4
......@@ -2053,8 +2053,8 @@ void input_thread(void *arg)
if(socket_check(sbbs->passthru_socket, NULL, &writable, 1000) && writable)
sendsocket(sbbs->passthru_socket, (char*)wrbuf, wr);
else
lprintf(LOG_WARNING, "Node %d could not write to passthru socket"
, sbbs->cfg.node_num);
lprintf(LOG_WARNING, "Node %d could not write to passthru socket (writable=%d)"
, sbbs->cfg.node_num, (int)writable);
continue;
}
......
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