]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
log: Removed slightly confusing code.
authorTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 03:24:48 +0000 (05:24 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 8 Dec 2011 03:24:48 +0000 (05:24 +0200)
A log client always receives a BYE, so don't free it earlier.

src/log/log-connection.c

index 54b277f242aac55d20a5a59b93d9641351756f4b..e7039d92c1d0818b4c98406f838c098549280413 100644 (file)
@@ -115,8 +115,6 @@ static void log_parse_master_line(const char *line)
                   message. */
                if (client == NULL || !client->fatal_logged)
                        i_error("%s", line + 14);
-               else
-                       log_client_free(log, client, pid);
        } else {
                i_error("Received unknown command from master: %s", line);
        }