]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
*-login: Removed redundant %{hostname} variable.
authorTimo Sirainen <tss@iki.fi>
Tue, 22 Dec 2009 23:20:50 +0000 (18:20 -0500)
committerTimo Sirainen <tss@iki.fi>
Tue, 22 Dec 2009 23:20:50 +0000 (18:20 -0500)
--HG--
branch : HEAD

src/login-common/login-settings.c

index 527a2f67a0d402706aa02570756f71c77db6b29c..a418dca0f80081a3368f726458c40fd908248b08 100644 (file)
@@ -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;
 }