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

Commit b92bf999 authored by Rob Swindell's avatar Rob Swindell 💬

Don't do the double-EOT trick in "G-mode"

Interesting, this is how this code worked back in 2005, but was changed without a good description of why:

This addresses the anonymous SyncTERM bug report:

Thanks, whoever that was. :-)
parent bc5bfa5f
Pipeline #1377 passed with stage
in 11 minutes and 26 seconds
......@@ -200,7 +200,7 @@ int xmodem_get_block(xmodem_t* xm, uchar* block, unsigned expected_block_num)
case EOT:
lprintf(xm,LOG_DEBUG,"Block %u: EOT received", expected_block_num);
if(/*((*xm->mode)&(YMODEM|GMODE))==YMODEM &&*/ !eot) {
if(!((*xm->mode) & GMODE) && !eot) {
lprintf(xm,LOG_INFO,"NAKing first EOT");
xmodem_put_nak(xm,expected_block_num); /* chuck's double EOT trick */
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