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
b53eb75c
...
b53eb75cf89213998951ce0ef7b5c37b3a6d5a98
authored
2004-01-05 18:09:56 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(move_message): Improved diagnostics
1 parent
e8548a14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
movemail/movemail.c
movemail/movemail.c
View file @
b53eb75
...
...
@@ -181,12 +181,14 @@ move_message (mailbox_t src, mailbox_t dst, size_t msgno)
if
((
rc
=
mailbox_get_message
(
src
,
msgno
,
&
msg
))
!=
0
)
{
fprintf
(
stderr
,
_
(
"Cannot read message: %s"
),
mu_strerror
(
rc
));
fprintf
(
stderr
,
_
(
"Cannot read message %lu: %s"
),
(
unsigned
long
)
msgno
,
mu_strerror
(
rc
));
return
rc
;
}
if
((
rc
=
mailbox_append_message
(
dst
,
msg
))
!=
0
)
{
fprintf
(
stderr
,
_
(
"Cannot append message: %s"
),
mu_strerror
(
rc
));
fprintf
(
stderr
,
_
(
"Cannot append message %lu: %s"
),
(
unsigned
long
)
msgno
,
mu_strerror
(
rc
));
return
rc
;
}
if
(
!
preserve_mail
)
...
...
Please
register
or
sign in
to post a comment