dovecot-2.0: Removed last traces of login_process_per_connection...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 31 21:14:37 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/777d8121356d
changeset: 9838:777d8121356d
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 31 14:06:50 2009 -0400
description:
Removed last traces of login_process_per_connection setting.

diffstat:

3 files changed, 1 insertion(+), 7 deletions(-)
src/login-common/client-common.c  |    2 +-
src/login-common/login-settings.c |    4 ----
src/login-common/login-settings.h |    2 --

diffs (45 lines):

diff -r 2fa181d56c20 -r 777d8121356d src/login-common/client-common.c
--- a/src/login-common/client-common.c	Mon Aug 31 13:13:57 2009 -0400
+++ b/src/login-common/client-common.c	Mon Aug 31 14:06:50 2009 -0400
@@ -349,7 +349,7 @@ void client_set_title(struct client *cli
 	const char *addr;
 
 	if (!client->set->verbose_proctitle ||
-	    !client->set->login_process_per_connection)
+	    master_service_get_client_limit(master_service) > 1)
 		return;
 
 	addr = net_ip2addr(&client->ip);
diff -r 2fa181d56c20 -r 777d8121356d src/login-common/login-settings.c
--- a/src/login-common/login-settings.c	Mon Aug 31 13:13:57 2009 -0400
+++ b/src/login-common/login-settings.c	Mon Aug 31 14:06:50 2009 -0400
@@ -20,8 +20,6 @@ static struct setting_define login_setti
 	DEF(SET_STR, login_greeting),
 	DEF(SET_STR, login_log_format_elements),
 	DEF(SET_STR, login_log_format),
-
-	DEF(SET_BOOL, login_process_per_connection),
 
 	DEF(SET_ENUM, ssl),
 	DEF(SET_STR, ssl_ca_file),
@@ -53,8 +51,6 @@ static struct login_settings login_defau
 	MEMBER(login_greeting) PACKAGE_NAME" ready.",
 	MEMBER(login_log_format_elements) "user=<%u> method=%m rip=%r lip=%l %c",
 	MEMBER(login_log_format) "%$: %s",
-
-	MEMBER(login_process_per_connection) TRUE,
 
 	MEMBER(ssl) "yes:no:required",
 	MEMBER(ssl_ca_file) "",
diff -r 2fa181d56c20 -r 777d8121356d src/login-common/login-settings.h
--- a/src/login-common/login-settings.h	Mon Aug 31 13:13:57 2009 -0400
+++ b/src/login-common/login-settings.h	Mon Aug 31 14:06:50 2009 -0400
@@ -8,8 +8,6 @@ struct login_settings {
 	const char *login_trusted_networks;
 	const char *login_greeting;
 	const char *login_log_format_elements, *login_log_format;
-
-	bool login_process_per_connection;
 
 	const char *ssl;
 	const char *ssl_ca_file;


More information about the dovecot-cvs mailing list