From 842eaa848a8547d8bba6df4a7cb1bffc35fd7d1e Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 26 Feb 2008 21:26:00 +0000
Subject: [PATCH] Fix bug introduced in rev 1.73 - truncating subjects read
 from RESULT.ED file to 4 chars.

---
 src/sbbs3/writemsg.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/writemsg.cpp b/src/sbbs3/writemsg.cpp
index 47f19baeeb..b9b3758e2b 100644
--- a/src/sbbs3/writemsg.cpp
+++ b/src/sbbs3/writemsg.cpp
@@ -367,7 +367,7 @@ bool sbbs_t::writemsg(char *fname, char *top, char *title, long mode, int subnum
 				fgets(str,sizeof(str),fp);
 				fgets(str,sizeof(str),fp);
 				truncsp(str);
-				SAFEPRINTF2(title,"%.*s",max_title_len,str);
+				safe_snprintf(title,max_title_len,"%s",str);
 				fclose(fp);
 			}
 		}
-- 
GitLab