dovecot-2.0: imap, pop3: If client creation fails, update lib-ma...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Dec 11 23:05:44 EET 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/f0fd3bd7c122
changeset: 10456:f0fd3bd7c122
user: Timo Sirainen <tss at iki.fi>
date: Fri Dec 11 16:05:38 2009 -0500
description:
imap, pop3: If client creation fails, update lib-master connection count.
diffstat:
2 files changed, 2 insertions(+)
src/imap/main.c | 1 +
src/pop3/main.c | 1 +
diffs (22 lines):
diff -r 6c9d97878efe -r f0fd3bd7c122 src/imap/main.c
--- a/src/imap/main.c Fri Dec 11 16:00:14 2009 -0500
+++ b/src/imap/main.c Fri Dec 11 16:05:38 2009 -0500
@@ -230,6 +230,7 @@ login_client_connected(const struct mast
&input_buf, &error) < 0) {
i_error("%s", error);
(void)close(client->fd);
+ master_service_client_connection_destroyed(master_service);
}
}
diff -r 6c9d97878efe -r f0fd3bd7c122 src/pop3/main.c
--- a/src/pop3/main.c Fri Dec 11 16:00:14 2009 -0500
+++ b/src/pop3/main.c Fri Dec 11 16:05:38 2009 -0500
@@ -156,6 +156,7 @@ login_client_connected(const struct mast
&input_buf, &error) < 0) {
i_error("%s", error);
(void)close(client->fd);
+ master_service_client_connection_destroyed(master_service);
}
}
More information about the dovecot-cvs
mailing list