Commit 18690e0e 18690e0e6677191f24787c6d340a6a80563cba4b by Sergey Poznyakoff

(mu_rfc2822_references,mu_rfc2822_in_reply_to): Return MU_ERR_FAILURE on error.

1 parent 08189be2
......@@ -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;
}
......