Skip to content
Snippets Groups Projects
Commit f527a75b authored by rswindell's avatar rswindell
Browse files

Fix a couple more 64-bit time_t problems (when viewing message headers with

the 'h' sub-op command).
parent 1e1da9c0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment