dovecot-2.0: imap: FETCH X-GUID and X-MAILBOX didn't add a space...

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 18 07:06:45 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/fdd652c73073
changeset: 10744:fdd652c73073
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 18 07:04:23 2010 +0200
description:
imap: FETCH X-GUID and X-MAILBOX didn't add a space after their value.

diffstat:

 src/imap/imap-fetch.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 2c994f2f1ce6 -r fdd652c73073 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c	Thu Feb 18 06:44:54 2010 +0200
+++ b/src/imap/imap-fetch.c	Thu Feb 18 07:04:23 2010 +0200
@@ -779,6 +779,7 @@
 
 	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 @@
 		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;
 }
 


More information about the dovecot-cvs mailing list