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

Leave room for telnet IAC expansion (as much as 100%) in the outbuf.

parent c18c8267
......@@ -2172,7 +2172,7 @@ void passthru_thread(void* arg)
,sbbs->cfg.node_num, ERROR_VALUE, sbbs->passthru_socket);
break;
}
rd = RingBufFree(&sbbs->outbuf);
rd = RingBufFree(&sbbs->outbuf) / 2;
if(rd > (int)sizeof(inbuf))
rd = sizeof(inbuf);
......
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