From: Timo Sirainen Date: Tue, 22 Dec 2009 23:20:50 +0000 (-0500) Subject: *-login: Removed redundant %{hostname} variable. X-Git-Tag: 2.0.beta2~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3517e23cc1207c471fea7fec422916061542308d;p=thirdparty%2Fdovecot%2Fcore.git *-login: Removed redundant %{hostname} variable. --HG-- branch : HEAD --- diff --git a/src/login-common/login-settings.c b/src/login-common/login-settings.c index 527a2f67a0..a418dca0f8 100644 --- a/src/login-common/login-settings.c +++ b/src/login-common/login-settings.c @@ -156,7 +156,6 @@ login_set_var_expand_table(const struct master_service_settings_input *input) { '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 master_service_settings_input *input) 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; }