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
171d6ac0
...
171d6ac0c3564b1faa523bf0380532ff25ed532c
authored
2008-02-29 08:01:33 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_whom): Improve diagnostics.
1 parent
77ecb6d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
mh/mh_whom.c
mh/mh_whom.c
View file @
171d6ac
...
...
@@ -223,9 +223,13 @@ mh_whom (const char *filename, int check)
mh_read_aliases
();
ctx
=
mh_context_create
(
filename
,
1
);
if
(
mh_context_read
(
ctx
))
if
(
(
rc
=
mh_context_read
(
ctx
)
))
{
mu_error
(
_
(
"Malformed message"
));
if
(
rc
==
ENOENT
)
mu_error
(
"%s: %s"
,
filename
,
mu_strerror
(
rc
));
else
mu_error
(
"%s: %s (%s)"
,
filename
,
_
(
"Malformed message"
),
mu_strerror
(
rc
));
rc
=
-
1
;
}
else
...
...
Please
register
or
sign in
to post a comment