From: Timo Sirainen Date: Thu, 8 Dec 2011 03:24:48 +0000 (+0200) Subject: log: Removed slightly confusing code. X-Git-Tag: 2.1.rc2~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05f3f770d4d7f815544eb7acad66a3dc94f9248f;p=thirdparty%2Fdovecot%2Fcore.git log: Removed slightly confusing code. A log client always receives a BYE, so don't free it earlier. --- diff --git a/src/log/log-connection.c b/src/log/log-connection.c index 54b277f242..e7039d92c1 100644 --- a/src/log/log-connection.c +++ b/src/log/log-connection.c @@ -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); }