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)
...@@ -200,7 +200,7 @@ int xmodem_get_block(xmodem_t* xm, uchar* block, unsigned expected_block_num) ...@@ -200,7 +200,7 @@ int xmodem_get_block(xmodem_t* xm, uchar* block, unsigned expected_block_num)
break; break;
case EOT: case EOT:
lprintf(xm,LOG_DEBUG,"Block %u: EOT received", expected_block_num); 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"); lprintf(xm,LOG_INFO,"NAKing first EOT");
eot=1; eot=1;
xmodem_put_nak(xm,expected_block_num); /* chuck's double EOT trick */ xmodem_put_nak(xm,expected_block_num); /* chuck's double EOT trick */
......