diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-25 22:08:00 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-25 22:08:00 +0000 |
commit | 18690e0e6677191f24787c6d340a6a80563cba4b (patch) | |
tree | 735de7edd4105ab26a0d064dfa10e44d9c186f89 /mailbox | |
parent | 08189be2172e2b44ad22d2bfba69db481cbc0ca9 (diff) | |
download | mailutils-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.c | 7 |
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; } |