From f1bf68a54506ec51bacdd27ef7eec6ac6732d629 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Mon, 3 Apr 2023 08:20:27 +0100 Subject: 6.0.23.58 --- BBSUtilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BBSUtilities.c') diff --git a/BBSUtilities.c b/BBSUtilities.c index 2cbbafc..4a21033 100644 --- a/BBSUtilities.c +++ b/BBSUtilities.c @@ -11323,7 +11323,7 @@ VOID ProcessTextFwdLine(ConnectionInfo * conn, struct UserInfo * user, char * Bu MsgPtr = MsgBytes; } - memcpy(&temp, &conn->FwdMsg->datereceived, 4); + memcpy(&temp, &conn->FwdMsg->datereceived, sizeof(time_t)); tm = gmtime(&temp); nodeprintf(conn, "R:%02d%02d%02d/%02d%02dZ %d@%s.%s %s\r", -- cgit v1.2.3