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

When showing message headers and using a msghdr.asc file, don't force a blank

line (CRLF) after the header and before the message body. If you want a blank
line, it must be in the msghdr.asc file. This change is to be consistent with
the behavior in v3.16.
parent 0aca3e49
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,9 @@ void sbbs_t::show_msghdr(smbmsg_t* msg) ...@@ -161,7 +161,9 @@ void sbbs_t::show_msghdr(smbmsg_t* msg)
,timestr(msg->hdr.when_written.time) ,timestr(msg->hdr.when_written.time)
,smb_zonestr(msg->hdr.when_written.zone,NULL) ,smb_zonestr(msg->hdr.when_written.zone,NULL)
,age_of_posted_item(age, sizeof(age), msg->hdr.when_written.time - (smb_tzutc(msg->hdr.when_written.zone) * 60))); ,age_of_posted_item(age, sizeof(age), msg->hdr.when_written.time - (smb_tzutc(msg->hdr.when_written.zone) * 60)));
CRLF; if(column)
CRLF;
CRLF; // use a custom header file if you don't want a blank line separating the header and body
} }
for(i=0;i<msg->total_hfields;i++) { for(i=0;i<msg->total_hfields;i++) {
if(msg->hfield[i].type==SENDER) if(msg->hfield[i].type==SENDER)
...@@ -170,7 +172,6 @@ void sbbs_t::show_msghdr(smbmsg_t* msg) ...@@ -170,7 +172,6 @@ void sbbs_t::show_msghdr(smbmsg_t* msg)
bprintf(text[ForwardedFrom],sender bprintf(text[ForwardedFrom],sender
,timestr(*(time32_t *)msg->hfield_dat[i])); ,timestr(*(time32_t *)msg->hfield_dat[i]));
} }
CRLF;
} }
/****************************************************************************/ /****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment