summaryrefslogtreecommitdiff
path: root/mailbox
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-03-25 22:08:00 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-03-25 22:08:00 +0000
commit18690e0e6677191f24787c6d340a6a80563cba4b (patch)
tree735de7edd4105ab26a0d064dfa10e44d9c186f89 /mailbox
parent08189be2172e2b44ad22d2bfba69db481cbc0ca9 (diff)
downloadmailutils-18690e0e6677191f24787c6d340a6a80563cba4b.tar.gz
mailutils-18690e0e6677191f24787c6d340a6a80563cba4b.tar.bz2
(mu_rfc2822_references,mu_rfc2822_in_reply_to): Return MU_ERR_FAILURE on error.
Diffstat (limited to 'mailbox')
-rw-r--r--mailbox/mutil.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mailbox/mutil.c b/mailbox/mutil.c
index 7c9550761..ea53c5075 100644
--- a/mailbox/mutil.c
+++ b/mailbox/mutil.c
@@ -41,6 +41,7 @@
#include <mailutils/address.h>
#include <mailutils/error.h>
+#include <mailutils/errno.h>
#include <mailutils/iterator.h>
#include <mailutils/mutil.h>
#include <mailutils/parse822.h>
@@ -946,8 +947,9 @@ mu_rfc2822_references (message_t msg, char **pstr)
*pstr = concat (ref, msgid);
free (ref);
free (msgid);
+ return 0;
}
- return 0;
+ return MU_ERR_FAILURE;
}
#define DATEBUFSIZE 128
@@ -1013,6 +1015,7 @@ mu_rfc2822_in_reply_to (message_t msg, char **pstr)
*pstr = concat (s1, s2);
free (s1);
free (s2);
+ return 0;
}
- return 0;
+ return MU_ERR_FAILURE;
}

Return to:

Send suggestions and report system problems to the System administrator.