Mercurial > dovecot > core-2.2
changeset 11862:8da0bbb53e7d
master: Fixed dropping pending listener connections when throttling a service.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 19 Jul 2010 19:31:00 +0100 |
parents | d26cf5445598 |
children | 598b1334fbba |
files | src/master/service.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }