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
64de3a6e
...
64de3a6efc4b5d43f226d65fd8479d218f70825f
authored
2002-03-28 12:45:22 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
New error code MU_ERR_NO_SUCH_USER
1 parent
a1c58f4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
include/mailutils/errno.h
mailbox/muerrno.c
include/mailutils/errno.h
View file @
64de3a6
...
...
@@ -49,6 +49,8 @@ extern "C" {
#define MU_ERR_LOCK_EXT_KILLED (MU_ERR_BASE | 0x00f)
/* external program was interrupted */
#define MU_ERR_NO_SUCH_USER (MU_ERR_BASE | 0x010)
const
char
*
mu_errname
__P
((
int
e
));
const
char
*
mu_errstring
__P
((
int
e
));
...
...
mailbox/muerrno.c
View file @
64de3a6
...
...
@@ -64,6 +64,7 @@ mu_errname (int e)
EN
(
MU_ERR_LOCK_EXT_FAIL
)
EN
(
MU_ERR_LOCK_EXT_ERR
)
EN
(
MU_ERR_LOCK_EXT_KILLED
)
EN
(
MU_ERR_NO_SUCH_USER
)
}
return
"SYSTEM ERROR"
;
...
...
@@ -95,6 +96,8 @@ const char* mu_errstring (int e)
ES
(
MU_ERR_LOCK_EXT_FAIL
,
"Failed to exec external locker"
)
ES
(
MU_ERR_LOCK_EXT_ERR
,
"External locker failed"
)
ES
(
MU_ERR_LOCK_EXT_KILLED
,
"External locker killed"
)
ES
(
MU_ERR_NO_SUCH_USER
,
"No such user name"
)
}
return
strerror
(
e
);
...
...
Please
register
or
sign in
to post a comment