File 0035-Drop-superfluous-parentheses-around-setannotation.patch of Package cyrus-imapd
From b151707aec94e97d62c934368383374caa0d36f3 Mon Sep 17 00:00:00 2001
From: "Jeroen van Meeuwen (Apheleia IT)" <vanmeeuwen@apheleia-it.ch>
Date: Mon, 8 May 2023 17:13:18 +0200
Subject: [PATCH 35/35] Drop superfluous parentheses around setannotation
---
imap/imap_proxy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/imap/imap_proxy.c b/imap/imap_proxy.c
index 17c3a183e..f4ced1d68 100644
--- a/imap/imap_proxy.c
+++ b/imap/imap_proxy.c
@@ -1343,7 +1343,7 @@ int annotate_store_proxy(const char *server, const char *mbox_pat,
/* Send command to remote */
proxy_gentag(mytag, sizeof(mytag));
- prot_printf(be->out, "%s SETANNOTATION \"%s\" (", mytag, mbox_pat);
+ prot_printf(be->out, "%s SETANNOTATION \"%s\" ", mytag, mbox_pat);
for (e = entryatts; e; e = e->next) {
prot_printf(be->out, "\"%s\" (", e->entry);
@@ -1355,7 +1355,7 @@ int annotate_store_proxy(const char *server, const char *mbox_pat,
prot_printf(be->out, ")");
if (e->next) prot_printf(be->out, " ");
}
- prot_printf(be->out, ")\r\n");
+ prot_printf(be->out, "\r\n");
prot_flush(be->out);
/* Pipe the results. Note that backend-current may also pipe us other
--
2.39.2