Commit 28d84d0a 28d84d0a978002714691da775ccdd6e131564af6 by Sam Roberts

Using mu_errstring() instead of strerror().

1 parent 57b57efb
......@@ -40,6 +40,7 @@
#include <md5-rsa.h>
#include <mailutils/errno.h>
#include <mailutils/stream.h>
#include <mailutils/body.h>
#include <mailutils/message.h>
......@@ -253,7 +254,7 @@ do \
stream_close (mbox->stream); \
CLEAR_STATE (mpd); \
mpd->func = (void *)-1; \
MAILBOX_DEBUG1(mbox, MU_DEBUG_PROT, "CHECK_ERROR_CLOSE: %s\n", strerror (status));\
MAILBOX_DEBUG1(mbox, MU_DEBUG_PROT, "CHECK_ERROR_CLOSE: %s\n", mu_errstring (status));\
return status; \
} \
} \
......@@ -267,7 +268,7 @@ do \
{ \
CLEAR_STATE (mpd); \
mpd->func = (void*)-1; \
MAILBOX_DEBUG1(mpd->mbox, MU_DEBUG_PROT, "CHECK_ERROR: %s\n", strerror (status));\
MAILBOX_DEBUG1(mpd->mbox, MU_DEBUG_PROT, "CHECK_ERROR: %s\n", mu_errstring (status));\
return status; \
} \
} \
......@@ -283,7 +284,7 @@ do \
{ \
CLEAR_STATE (mpd); \
mpd->func = (void *)-1; \
MAILBOX_DEBUG1(mpd->mbox, MU_DEBUG_PROT, "CHECK_EAGAIN: %s\n", strerror (status));\
MAILBOX_DEBUG1(mpd->mbox, MU_DEBUG_PROT, "CHECK_EAGAIN: %s\n", mu_errstring (status));\
} \
return status; \
} \
......