From 97cf95262c948d7d0aa4006f635b7c71ab7a8c6a Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Thu, 8 Oct 2020 17:28:01 -0700
Subject: [PATCH] <deon[m]> could be helpful if "l" (list) shows the index id
 needed as well

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

diff --git a/src/sbbs3/smbutil.c b/src/sbbs3/smbutil.c
index af1688a325..3b17537b46 100644
--- a/src/sbbs3/smbutil.c
+++ b/src/sbbs3/smbutil.c
@@ -526,8 +526,8 @@ void listmsgs(ulong start, ulong count)
 				,beep,i,smb.last_error);
 			break; 
 		}
-		printf("%4"PRIu32" %-25.25s %-25.25s %s\n"
-			,msg.hdr.number,msg.from,msg.to,msg.subj);
+		printf("%4lu/#%-4"PRIu32" %-25.25s %-25.25s %s\n"
+			,start + l, msg.hdr.number,msg.from,msg.to,msg.subj);
 		smb_freemsgmem(&msg);
 		l++; 
 	}
-- 
GitLab