changeset 7831:b2d18f10b5a7 HEAD

CONTEXT=SEARCH: Removed extra ')' from ESEARCH replies.
author Timo Sirainen <tss@iki.fi>
date Thu, 12 Jun 2008 02:15:38 +0300
parents 5a6aa66e2ccd
children e1c13a782399
files src/imap/imap-sync.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/imap-sync.c	Thu Jun 12 02:08:16 2008 +0300
+++ b/src/imap/imap-sync.c	Thu Jun 12 02:15:38 2008 +0300
@@ -102,7 +102,7 @@
 		imap_write_seq_range(cmd, &ctx->search_adds);
 		str_append_c(cmd, ')');
 	}
-	str_append(cmd, ")\r\n");
+	str_append(cmd, "\r\n");
 	o_stream_send(ctx->client->output, str_data(cmd), str_len(cmd));
 }