dovecot-2.0: *-login: Removed redundant %{hostname} variable.

dovecot at dovecot.org dovecot at dovecot.org
Wed Dec 23 01:20:55 EET 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/07e688afe81b
changeset: 10527:07e688afe81b
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Dec 22 18:20:50 2009 -0500
description:
*-login: Removed redundant %{hostname} variable.

diffstat:

1 file changed, 2 deletions(-)
src/login-common/login-settings.c |    2 --

diffs (19 lines):

diff -r e1b725d02c30 -r 07e688afe81b src/login-common/login-settings.c
--- a/src/login-common/login-settings.c	Tue Dec 22 18:18:55 2009 -0500
+++ b/src/login-common/login-settings.c	Tue Dec 22 18:20:50 2009 -0500
@@ -156,7 +156,6 @@ login_set_var_expand_table(const struct 
 		{ 'r', NULL, "rip" },
 		{ 'p', NULL, "pid" },
 		{ 's', NULL, "service" },
-		{ '\0', NULL, "hostname" },
 		{ '\0', NULL, NULL }
 	};
 	struct var_expand_table *tab;
@@ -168,7 +167,6 @@ login_set_var_expand_table(const struct 
 	tab[1].value = net_ip2addr(&input->remote_ip);
 	tab[2].value = my_pid;
 	tab[3].value = input->service;
-	tab[4].value = my_hostname;
 	return tab;
 }
 


More information about the dovecot-cvs mailing list