]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap: FETCH X-GUID and X-MAILBOX didn't add a space after their value.
authorTimo Sirainen <tss@iki.fi>
Thu, 18 Feb 2010 05:04:23 +0000 (07:04 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 18 Feb 2010 05:04:23 +0000 (07:04 +0200)
--HG--
branch : HEAD

src/imap/imap-fetch.c

index 4748e3b08dacc7ecc7978f578af8d616b6c48170..16464ec4fa7c46b7eda5219f101f63ddb9bcac9e 100644 (file)
@@ -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;
 }