This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=9f1d5ced7ae7ba2489e5c3908b846f1c3f30889f The branch, master has been updated via 9f1d5ced7ae7ba2489e5c3908b846f1c3f30889f (commit) from 3b0dfa604bc0ff846020adefd7252dc7e27cadad (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9f1d5ced7ae7ba2489e5c3908b846f1c3f30889f Author: Sergey Poznyakoff <g...@gnu.org.ua> Date: Tue Dec 20 19:55:15 2016 +0200 sieve: improve address tests * libmu_sieve/tests.c (retrieve_address): Treat MU_ERR_EMPTY_ADDRESS as MU_ERR_NOENT. This complements 678d93678 ----------------------------------------------------------------------- Summary of changes: libmu_sieve/tests.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libmu_sieve/tests.c b/libmu_sieve/tests.c index 00612c1..29864e7 100644 --- a/libmu_sieve/tests.c +++ b/libmu_sieve/tests.c @@ -71,8 +71,15 @@ retrieve_address (void *item, void *data, size_t idx, char **pval) return MU_ERR_NOENT; rc = mu_address_create (&ap->addr, val); free (val); - if (rc) - return rc; + switch (rc) + { + case MU_ERR_EMPTY_ADDRESS: + case MU_ERR_NOENT: + return MU_ERR_NOENT; + + default: + return rc; + } } rc = ap->aget (ap->addr, idx+1, pval); hooks/post-receive -- GNU Mailutils _______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-mailutils