From f527a75b381e39b28227ed0b3174f869f37d5f6a Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 28 May 2010 01:10:09 +0000 Subject: [PATCH] Fix a couple more 64-bit time_t problems (when viewing message headers with the 'h' sub-op command). --- src/sbbs3/readmsgs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/readmsgs.cpp b/src/sbbs3/readmsgs.cpp index 5ba797eb1c..994b26d68e 100644 --- a/src/sbbs3/readmsgs.cpp +++ b/src/sbbs3/readmsgs.cpp @@ -124,11 +124,11 @@ void sbbs_t::msghdr(smbmsg_t* msg) /* fixed fields */ bprintf("%-16.16s %08lX %04hX %.24s %s\r\n","when_written" ,msg->hdr.when_written.time, msg->hdr.when_written.zone - ,ctime((time_t*)&msg->hdr.when_written.time) + ,timestr(msg->hdr.when_written.time) ,smb_zonestr(msg->hdr.when_written.zone,NULL)); bprintf("%-16.16s %08lX %04hX %.24s %s\r\n","when_imported" ,msg->hdr.when_imported.time, msg->hdr.when_imported.zone - ,ctime((time_t*)&msg->hdr.when_imported.time) + ,timestr(msg->hdr.when_imported.time) ,smb_zonestr(msg->hdr.when_imported.zone,NULL)); bprintf("%-16.16s %04Xh\r\n","type" ,msg->hdr.type); bprintf("%-16.16s %04Xh\r\n","version" ,msg->hdr.version); -- GitLab