]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dict: Removed duplicate commit reply character
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 18 May 2016 19:59:06 +0000 (22:59 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 18 May 2016 19:59:06 +0000 (22:59 +0300)
This broke dict-client with error:
Invalid commit reply, expected id=1: OO1

src/dict/dict-commands.c

index 471faf111180012812251cf3325a09aa8afa8dda..b18fd48504b7c044fd2f6e643111f3e0d16de8be 100644 (file)
@@ -281,7 +281,6 @@ cmd_commit_finish(struct dict_connection_cmd *cmd,
        }
        if (async)
                str_append_c(str, DICT_PROTOCOL_REPLY_ASYNC_COMMIT);
-       str_append_c(str, chr);
        str_printfa(str, "%c%u", chr, cmd->trans_id);
        if (chr == DICT_PROTOCOL_REPLY_FAIL) {
                str_append_c(str, '\t');