summaryrefslogtreecommitdiff
path: root/FBBRoutines.c
diff options
context:
space:
mode:
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",