diff --git a/ChangeLog b/ChangeLog index 0ae8a7fd..34f3f40c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,9 +34,18 @@ v0.71.0 27-Oct-2004 When an invalid OLR reply packet is received, it is removed from the users upload directory. We don't reward upload time anymore, only bytes. It's more - troubles to implement right then it's worth these days. - Added internal zmodem download and upload protocol. + troubles to implement right then it's worth these days. This + is caused by telnet connections when we never know what the + real linespeed is with to/from the user. + Added internal zmodem download and upload protocol. Not yet + enabled for public use, this will be done when it's ready. + The receiver will accept non-standard zmodem 8k blocks. The + sender is normal zmodem or zmodem-8K. + TODO: uploads smaller then blocksize seems to fail with + Dynacomm. With user chat, the timeout timer wasn't refreshed. + Rewrote the rewritten terminal i/o to get zmodem upload to + work. mbnewusr: Rewrote terminal i/o. diff --git a/mbsebbs/transfer.c b/mbsebbs/transfer.c index 6a091f7b..50c802d2 100644 --- a/mbsebbs/transfer.c +++ b/mbsebbs/transfer.c @@ -440,7 +440,7 @@ int upload(up_list **upload_list) if (*(dp->d_name) != '.') { if (rc == 0) { stat(dp->d_name, &statfile); - Syslog('+', "Uploaded \"%s\", %ld bytes", dp->d_name, statfile.st_size); + Syslog('b', "Uploaded \"%s\", %ld bytes", dp->d_name, statfile.st_size); sprintf(temp, "%s/%s/upl/%s", CFG.bbs_usersdir, exitinfo.Name, dp->d_name); chmod(temp, 0660); diff --git a/mbsebbs/zmrecv.c b/mbsebbs/zmrecv.c index 09d33cce..c5695310 100644 --- a/mbsebbs/zmrecv.c +++ b/mbsebbs/zmrecv.c @@ -160,7 +160,7 @@ again: switch (zgethdr(Rxhdr)) { case ZRQINIT: continue; case ZEOF: continue; - case TIMEOUT: Syslog('+', "Zmodem: tryz() timeout attempt %d", n); + case TIMEOUT: Syslog('z', "Zmodem: tryz() timeout attempt %d", n); continue; case ZFILE: zconv = Rxhdr[ZF0]; if (!zconv) { @@ -291,7 +291,7 @@ nxthdr: } continue; case TIMEOUT: if ( --n < 0) { - Syslog('+', "Zmodem: TIMEOUT"); + Syslog('z', "Zmodem: TIMEOUT"); return TERROR; } continue;