From: Timo Sirainen Date: Thu, 18 Feb 2010 05:04:23 +0000 (+0200) Subject: imap: FETCH X-GUID and X-MAILBOX didn't add a space after their value. X-Git-Tag: 2.0.beta3~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a478ec6ae4c1a6e2f2c1ceef57e941144cb7d9ea;p=thirdparty%2Fdovecot%2Fcore.git imap: FETCH X-GUID and X-MAILBOX didn't add a space after their value. --HG-- branch : HEAD --- diff --git a/src/imap/imap-fetch.c b/src/imap/imap-fetch.c index 4748e3b08d..16464ec4fa 100644 --- a/src/imap/imap-fetch.c +++ b/src/imap/imap-fetch.c @@ -779,6 +779,7 @@ static int fetch_guid(struct imap_fetch_context *ctx, struct mail *mail, str_append(ctx->cur_str, "X-GUID "); imap_quote_append_string(ctx->cur_str, value, FALSE); + str_append_c(ctx->cur_str, ' '); return 1; } @@ -799,6 +800,7 @@ static int fetch_x_mailbox(struct imap_fetch_context *ctx, struct mail *mail, i_panic("mailbox name not returned"); str_append(ctx->cur_str, "X-MAILBOX "); imap_quote_append_string(ctx->cur_str, str, FALSE); + str_append_c(ctx->cur_str, ' '); return 1; }