dovecot-2.0: master: Fixed dropping pending listener connections...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 19 21:31:04 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/8da0bbb53e7d
changeset: 11862:8da0bbb53e7d
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 19 19:31:00 2010 +0100
description:
master: Fixed dropping pending listener connections when throttling a service.

diffstat:

 src/master/service.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d26cf5445598 -r 8da0bbb53e7d src/master/service.c
--- a/src/master/service.c	Mon Jul 19 19:19:29 2010 +0100
+++ b/src/master/service.c	Mon Jul 19 19:31:00 2010 +0100
@@ -622,7 +622,7 @@
 		switch ((*listenerp)->type) {
 		case SERVICE_LISTENER_UNIX:
 		case SERVICE_LISTENER_INET:
-			if ((*listenerp)->fd != -1) {
+			if ((*listenerp)->fd == -1) {
 				/* already stopped listening */
 				break;
 			}


More information about the dovecot-cvs mailing list