From 5c42cb7de4469162f76742e5f209b7208168f0f3 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 19 Sep 2001 00:36:04 +0000
Subject: [PATCH] Now displays/logs total number of bytes in messages packed.

---
 src/sbbs3/pack_qwk.cpp | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/sbbs3/pack_qwk.cpp b/src/sbbs3/pack_qwk.cpp
index 7c40e2cbbe..887b159276 100644
--- a/src/sbbs3/pack_qwk.cpp
+++ b/src/sbbs3/pack_qwk.cpp
@@ -432,12 +432,16 @@ bool sbbs_t::pack_qwk(char *packet, ulong *msgcnt, bool prepack)
 		lprintf(str);
 
 	if((*msgcnt)+mailmsgs && time(NULL)-start) {
-		bprintf("\r\n\r\n\1n\1hPacked %lu messages in %lu seconds "
+		bprintf("\r\n\r\n\1n\1hPacked %lu messages (%lu bytes) in %lu seconds "
 			"(%lu messages/second)."
-			,(*msgcnt)+mailmsgs,time(NULL)-start
+			,(*msgcnt)+mailmsgs
+			,ftell(qwk)
+			,time(NULL)-start
 			,((*msgcnt)+mailmsgs)/(time(NULL)-start));
-		sprintf(str,"Packed %lu messages in %lu seconds (%lu msgs/sec)"
-			,(*msgcnt)+mailmsgs,time(NULL)-start
+		sprintf(str,"Packed %lu messages (%lu bytes) in %lu seconds (%lu msgs/sec)"
+			,(*msgcnt)+mailmsgs
+			,ftell(qwk)
+			,time(NULL)-start
 			,((*msgcnt)+mailmsgs)/(time(NULL)-start));
 		if(online==ON_LOCAL) /* event */
 			eprintf(str);
-- 
GitLab