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
a253e62a
...
a253e62ae760dd0489e0b7c5c098eb4110866ee6
authored
2001-07-01 04:58:42 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Implemented "set autoprint"
1 parent
fa4b22e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
mail/delete.c
mail/delete.c
View file @
a253e62
...
...
@@ -23,15 +23,15 @@
int
mail_delete0
()
{
message_t
msg
;
attribute_t
attr
;
if
(
mailbox_get_message
(
mbox
,
cursor
,
&
msg
)
!=
0
)
return
1
;
message_get_attribute
(
msg
,
&
attr
);
attribute_set_deleted
(
attr
);
return
0
;
}
{
message_t
msg
;
attribute_t
attr
;
if
(
mailbox_get_message
(
mbox
,
cursor
,
&
msg
)
!=
0
)
return
1
;
message_get_attribute
(
msg
,
&
attr
);
attribute_set_deleted
(
attr
);
return
0
;
}
int
mail_delete
(
int
argc
,
char
**
argv
)
...
...
@@ -62,6 +62,10 @@ mail_delete (int argc, char **argv)
cursor
=
realcursor
;
}
if
(
util_find_env
(
"autoprint"
)
->
set
)
util_do_command
(
"print"
);
return
rc
;
}
...
...
Please
register
or
sign in
to post a comment