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
e72ba028
...
e72ba028b5820bf065d20d4515a4632e4d2d9fb0
authored
2001-06-25 08:19:48 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use mail_copy0().
1 parent
287248a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
24 deletions
mail/save.c
mail/save.c
View file @
e72ba02
...
...
@@ -26,28 +26,5 @@
int
mail_save
(
int
argc
,
char
**
argv
)
{
message_t
msg
;
int
*
msglist
=
NULL
;
int
num
=
0
,
i
=
0
;
mail_copy
(
argc
,
argv
);
if
(
argc
>
1
)
argc
--
;
num
=
util_expand_msglist
(
argc
,
argv
,
&
msglist
);
if
(
num
>
0
)
{
for
(
i
=
0
;
i
<
num
;
i
++
)
{
mailbox_get_message
(
mbox
,
msglist
[
i
],
&
msg
);
/* mark as saved */
}
}
else
{
mailbox_get_message
(
mbox
,
cursor
,
&
msg
);
}
free
(
msglist
);
return
0
;
return
mail_copy0
(
argc
,
argv
,
1
);
}
...
...
Please
register
or
sign in
to post a comment