diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-22 17:30:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-22 17:30:09 +0100 |
commit | c2558b04ff929ccc4a61e05bab7ec502d014f58d (patch) | |
tree | 98ada47b753d408b96e3d941bb031188e4cb10a5 | |
parent | a99dac227c89cec49b10093dbd02e0e6233ff5a4 (diff) | |
download | rspamd-c2558b04ff929ccc4a61e05bab7ec502d014f58d.tar.gz rspamd-c2558b04ff929ccc4a61e05bab7ec502d014f58d.zip |
Add password header.
-rw-r--r-- | src/client/rspamc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index 8a0406589..ebf0daed7 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -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"); } |