summaryrefslogtreecommitdiff
path: root/FBBRoutines.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 /FBBRoutines.c
parent814c68fcc41fe2c396c419c281cb808a945623c6 (diff)
6.0.23.5823.59
Diffstat (limited to 'FBBRoutines.c')
-rw-r--r--FBBRoutines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FBBRoutines.c b/FBBRoutines.c
index 84b09d6..2fae431 100644
--- a/FBBRoutines.c
+++ b/FBBRoutines.c
@@ -1244,7 +1244,7 @@ VOID SendCompressed(CIRCUIT * conn, struct MsgInfo * FwdMsg)
DataOffset = (int)(Outputptr - Output); // Used if restarting
- memcpy(&temp, &FwdMsg->datereceived, 4);
+ memcpy(&temp, &FwdMsg->datereceived, sizeof(time_t));
tm = gmtime(&temp);
sprintf(Rline, "R:%02d%02d%02d/%02d%02dZ %d@%s.%s %s\r\n",