]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Add password header.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 22 Apr 2014 16:30:09 +0000 (17:30 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 22 Apr 2014 16:30:09 +0000 (17:30 +0100)
src/client/rspamc.c

index 8a0406589a100ac3aa1d2371d240f261ca4a781e..ebf0daed7f936b23ddc504702b5ca1326743ed66 100644 (file)
@@ -380,6 +380,9 @@ add_options (GHashTable *opts)
        if (hostname != NULL) {
                g_hash_table_insert (opts, "Hostname", hostname);
        }
+       if (password != NULL) {
+               g_hash_table_insert (opts, "Password", password);
+       }
        if (pass_all) {
                g_hash_table_insert (opts, "Pass", "all");
        }