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
d73acb77
...
d73acb77e032213ba2413b06ddfbb893f5633c2c
authored
2002-08-29 14:44:38 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mail_copy0): Make sure we really got the message.
1 parent
c928a49a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
mail/copy.c
mail/copy.c
View file @
d73acb7
...
...
@@ -72,7 +72,16 @@ mail_copy0 (int argc, char **argv, int mark)
for
(
mp
=
msglist
;
mp
;
mp
=
mp
->
next
)
{
mailbox_get_message
(
mbox
,
mp
->
msg_part
[
0
],
&
msg
);
int
status
;
status
=
mailbox_get_message
(
mbox
,
mp
->
msg_part
[
0
],
&
msg
);
if
(
status
)
{
util_error
(
"can't get message %d: %s"
,
mp
->
msg_part
[
0
],
mu_errstring
(
status
));
break
;
}
mailbox_append_message
(
mbx
,
msg
);
message_size
(
msg
,
&
size
);
...
...
Please
register
or
sign in
to post a comment