dovecot-2.1: log: Removed slightly confusing code.

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 8 05:55:33 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/279a48aa9dc6
changeset: 13815:279a48aa9dc6
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 08 05:24:48 2011 +0200
description:
log: Removed slightly confusing code.
A log client always receives a BYE, so don't free it earlier.

diffstat:

 src/log/log-connection.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 8c803201651e -r 279a48aa9dc6 src/log/log-connection.c
--- a/src/log/log-connection.c	Thu Dec 08 05:17:01 2011 +0200
+++ b/src/log/log-connection.c	Thu Dec 08 05:24:48 2011 +0200
@@ -115,8 +115,6 @@
 		   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);
 	}


More information about the dovecot-cvs mailing list