summaryrefslogtreecommitdiff
path: root/mailbox/muerrno.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-06-04 23:22:53 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-06-04 23:22:53 +0000
commit81b1c4f8b9f0c2dc58f5ce84f87eeed66a12eda0 (patch)
tree1eb3a18e933f088569caa85e2b57e1e917009ea4 /mailbox/muerrno.c
parent1439eb8c94bd9ae56e2834fdbf9f9c8ae99847ed (diff)
downloadmailutils-81b1c4f8b9f0c2dc58f5ce84f87eeed66a12eda0.tar.gz
mailutils-81b1c4f8b9f0c2dc58f5ce84f87eeed66a12eda0.tar.bz2
(MU_ERR_BUFSPACE): New error code
Diffstat (limited to 'mailbox/muerrno.c')
-rw-r--r--mailbox/muerrno.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mailbox/muerrno.c b/mailbox/muerrno.c
index 2a3d757e5..b678483e3 100644
--- a/mailbox/muerrno.c
+++ b/mailbox/muerrno.c
@@ -97,6 +97,7 @@ mu_errname (int e)
EN(MU_ERR_CONN_CLOSED);
EN(MU_ERR_PARSE);
EN(MU_ERR_NOENT);
+ EN(MU_ERR_BUFSPACE);
}
snprintf (buf, sizeof buf, _("Error %d"), e);
@@ -107,7 +108,6 @@ const char *
mu_strerror (int e)
{
const char *msg = NULL;
- char *p;
switch (e)
{
@@ -165,6 +165,7 @@ mu_strerror (int e)
ES(MU_ERR_CONN_CLOSED, _("Connection closed by remote host"));
ES(MU_ERR_PARSE, _("Parse error"));
ES(MU_ERR_NOENT, _("Requested item not found"));
+ ES(MU_ERR_BUFSPACE, _("Not enough buffer space"));
}
return msg ? msg : strerror (e);

Return to:

Send suggestions and report system problems to the System administrator.