From f10a5c77944a8c6a23a99e2f4456858fb1a5fb6a Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 10 Jun 2005 07:07:07 +0000
Subject: [PATCH] Write the correct block size (from zmodem_t or xmodem_t) to
 the DSZLOG file.

---
 src/sbbs3/sexyz.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/sexyz.c b/src/sbbs3/sexyz.c
index ea7083d60c..0c9ce1c10f 100644
--- a/src/sbbs3/sexyz.c
+++ b/src/sbbs3/sexyz.c
@@ -853,7 +853,7 @@ static int send_files(char** fname, uint fnames)
 					,cps
 					,errors
 					,flows
-					,xm.block_size
+					,mode&ZMODEM ? zm.block_size : xm.block_size
 					,path); 
 				fflush(logfp);
 			}
@@ -1176,7 +1176,7 @@ static int receive_files(char** fname_list, int fnames)
 				,file_bytes/t
 				,errors
 				,flows
-				,xm.block_size
+				,mode&ZMODEM ? zm.block_size : xm.block_size
 				,str
 				,serial_num); 
 			fflush(logfp);
-- 
GitLab