Commit bbd33d96 authored by rswindell's avatar rswindell
Browse files

Log an error if show_msg() returns false (failure), hopefully helping to get

to the bottom of Alterego's reported issue with new mail message bodies not
being displayed.
parent 41fdaac9
......@@ -256,9 +256,10 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
if(domsg && !(sys_status&SS_ABORT)) {
show_msg(&smb, &msg
if(!show_msg(&smb, &msg
,msg.from_ext && msg.idx.from==1 && !msg.from_net.type
errormsg(WHERE,"showing", "mail message", msg.hdr.number, smb.last_error);
download_msg_attachments(&smb, &msg, which == MAIL_YOUR);
if(which==MAIL_YOUR && !(msg.hdr.attr&MSG_READ)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment