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

remove_msg() method needed to set DELETED attribute in index too.

parent 4a3d19cc
No related branches found
No related tags found
No related merge requests found
...@@ -973,6 +973,7 @@ js_remove_msg(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval ...@@ -973,6 +973,7 @@ js_remove_msg(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval
smb_freemsghdrmem(&msg); /* prevent duplicate header fields */ smb_freemsghdrmem(&msg); /* prevent duplicate header fields */
msg.hdr.attr|=MSG_DELETE; msg.hdr.attr|=MSG_DELETE;
msg.idx.attr=msg.hdr.attr;
if(smb_putmsg(&(p->smb), &msg)!=0) if(smb_putmsg(&(p->smb), &msg)!=0)
break; break;
......
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