summaryrefslogtreecommitdiff
path: root/guimb
diff options
context:
space:
mode:
authorSam Roberts <sroberts@uniserve.com>2002-02-26 04:40:20 +0000
committerSam Roberts <sroberts@uniserve.com>2002-02-26 04:40:20 +0000
commitd55106d93b386f3d7bb1870875d8fc8227ee5a07 (patch)
tree08ae2959d051e30b028be6f572a413d4aef1b0cc /guimb
parentc003ad7d755d3a4212148bf509d4b6325bd699f1 (diff)
downloadmailutils-d55106d93b386f3d7bb1870875d8fc8227ee5a07.tar.gz
mailutils-d55106d93b386f3d7bb1870875d8fc8227ee5a07.tar.bz2
Replaced strerror() with mu_errstring().
Diffstat (limited to 'guimb')
-rw-r--r--guimb/collect.c2
-rw-r--r--guimb/guimb.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/guimb/collect.c b/guimb/collect.c
index 4d948f053..0988d15b0 100644
--- a/guimb/collect.c
+++ b/guimb/collect.c
@@ -39,7 +39,7 @@ collect_open_default ()
|| mailbox_open (mbox, MU_STREAM_RDWR) != 0)
{
util_error ("can't open default mailbox %s: %s",
- default_mailbox, strerror (errno));
+ default_mailbox, mu_errstring (errno));
exit (1);
}
diff --git a/guimb/guimb.h b/guimb/guimb.h
index fbed2955a..1840fa26c 100644
--- a/guimb/guimb.h
+++ b/guimb/guimb.h
@@ -26,6 +26,7 @@
#include <errno.h>
#include <string.h> /* strerror(3), strdup(3) */
+#include <mailutils/errno.h>
#include <mailutils/mailbox.h>
#include <mailutils/message.h>
#include <mailutils/header.h>

Return to:

Send suggestions and report system problems to the System administrator.