Commit 92f12352 authored by rswindell's avatar rswindell
Browse files

MSG_SENT is in the netattr field, not the attr field. Double-oops. Thanks...

MSG_SENT is in the netattr field, not the attr field. Double-oops. Thanks Dan_C and Nelgin for bringing to my attention.
parent c90b7c60
...@@ -5521,7 +5521,8 @@ static void sendmail_thread(void* arg) ...@@ -5521,7 +5521,8 @@ static void sendmail_thread(void* arg)
,i, smb.last_error, __LINE__, msg.idx.number); ,i, smb.last_error, __LINE__, msg.idx.number);
continue; continue;
} }
if(msg.hdr.attr&(MSG_SENT|MSG_DELETE) || msg.to_net.type!=NET_INTERNET || msg.to_net.addr==NULL) { if(msg.hdr.attr&MSG_DELETE || msg.to_net.type!=NET_INTERNET || msg.to_net.addr==NULL
|| (msg.hdr.netattr&MSG_SENT)) {
smb_unlockmsghdr(&smb,&msg); smb_unlockmsghdr(&smb,&msg);
continue; continue;
} }
......
Markdown is supported
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