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=22ec4913c13137b497c6d6ee7f433d0b94e059cd The branch, master has been updated via 22ec4913c13137b497c6d6ee7f433d0b94e059cd (commit) from 09be781f34bd43f47f65eee4ce757e8c9ab742e6 (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 22ec4913c13137b497c6d6ee7f433d0b94e059cd Author: Sergey Poznyakoff <g...@gnu.org.ua> Date: Fri Dec 23 01:10:58 2011 +0200 Bugfixes in imap client. * libproto/imap/fetch.c (_fetch_fold): Fix parsing of BODY[]. (_mu_imap_parse_fetch_response): Fix return value. ----------------------------------------------------------------------- Summary of changes: libproto/imap/fetch.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/libproto/imap/fetch.c b/libproto/imap/fetch.c index e448041..aa5c090 100644 --- a/libproto/imap/fetch.c +++ b/libproto/imap/fetch.c @@ -1052,6 +1052,12 @@ _fetch_fold (void *item, void *data) } else if (strncmp (elt->v.string, "HEADER.FIELDS", 13) == 0) env->state = resp_body_hlist; + else if (strcmp (elt->v.string, "]") == 0) + { + env->section = NULL; + env->state = resp_val; + break; + } else env->state = resp_body_end; env->section = elt->v.string; @@ -1109,5 +1115,5 @@ _mu_imap_parse_fetch_response (mu_list_t input, mu_list_t *result_list) else *result_list = result; mu_list_destroy (&env.hlist); - return status; + return env.status; } hooks/post-receive -- GNU Mailutils _______________________________________________ Commit-mailutils mailing list Commit-mailutils@gnu.org https://lists.gnu.org/mailman/listinfo/commit-mailutils