Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
d60d3bec
...
d60d3bec2f8aebb0c1e57e1c99bb96afd69c18c2
authored
2005-03-03 10:54:09 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Save messages that were marked for saving to mbox and then deleted
1 parent
7faf960d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
mail/quit.c
mail/quit.c
View file @
d60d3be
...
...
@@ -94,9 +94,10 @@ mail_mbox_commit ()
message_get_attribute
(
msg
,
&
attr
);
if
(
!
is_user_mbox
&&
!
attribute_is_deleted
(
attr
)
&&
(
attribute_is_userflag
(
attr
,
MAIL_ATTRIBUTE_MBOXED
)
||
(
!
hold
&&
attribute_is_read
(
attr
))))
||
(
!
hold
&&
!
attribute_is_deleted
(
attr
)
&&
attribute_is_read
(
attr
))))
{
int
status
;
...
...
@@ -122,6 +123,8 @@ mail_mbox_commit ()
saved_count
++
;
}
}
else
if
(
attribute_is_deleted
(
attr
))
/* Skip this one */
;
else
if
(
!
keepsave
&&
attribute_is_userflag
(
attr
,
MAIL_ATTRIBUTE_SAVED
))
attribute_set_deleted
(
attr
);
else
if
(
attribute_is_read
(
attr
))
...
...
Please
register
or
sign in
to post a comment