summaryrefslogtreecommitdiff
path: root/BBSUtilities.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2023-04-03 08:20:27 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2023-04-03 08:20:27 +0100
commitf1bf68a54506ec51bacdd27ef7eec6ac6732d629 (patch)
tree27c3008330bdfdf013f03c803a91a804c90f0a2e /BBSUtilities.c
parent814c68fcc41fe2c396c419c281cb808a945623c6 (diff)
6.0.23.5823.59
Diffstat (limited to 'BBSUtilities.c')
-rw-r--r--BBSUtilities.c2
1 files changed, 1 insertions, 1 deletions
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",