When I set imap_id_log=* in dovecot-2.0.11 and a client sends, say,
        tag id ("a" "b" "c" "d")
then dovecot logs:
        ID sent: a=b, b=c, c=d
The following patch makes it log instead:
        ID sent: a=b, c=d

--- a/dovecot/src/lib-imap/imap-id.c    (revision 113366)
+++ b/dovecot/src/lib-imap/imap-id.c    (working copy)
@@ -164,6 +164,7 @@
                        str_append_c(reply, '=');
                        str_append(reply, str_sanitize(value, 80));
                }
+               args++;
        }
        return str_len(reply) == 0 ? NULL : str_c(reply);
 }

Reply via email to