]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
IMAP: Fixed ID command to log the parameters properly.
authorTimo Sirainen <tss@iki.fi>
Wed, 9 Mar 2011 18:22:52 +0000 (20:22 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 9 Mar 2011 18:22:52 +0000 (20:22 +0200)
Patch by Mike Abbott / Apple.

src/lib-imap/imap-id.c

index 719ffcf8328cc65337db46cfe908e05621b32380..90c36efdfb628338a7f9f8659853d4a3d6fdb5bd 100644 (file)
@@ -164,6 +164,7 @@ const char *imap_id_args_get_log_reply(const struct imap_arg *args,
                        str_append_c(reply, '=');
                        str_append(reply, str_sanitize(value, 80));
                }
+               args++;
        }
        return str_len(reply) == 0 ? NULL : str_c(reply);
 }