diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-13 19:44:59 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-05-13 19:44:59 +0400 |
commit | 610afb87562429d72c2fce6c3c294afaf001b85c (patch) | |
tree | 6ecd9ed703054fd05381756a926768a7ccbff5e9 | |
parent | 4c4cdd54fbc5afde43e8ff18090c10dd60e06e0a (diff) | |
download | rspamd-610afb87562429d72c2fce6c3c294afaf001b85c.tar.gz rspamd-610afb87562429d72c2fce6c3c294afaf001b85c.zip |
Ignore empty from in settings.
-rw-r--r-- | src/settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.c b/src/settings.c index 05757a61c..6dd6cd3b0 100644 --- a/src/settings.c +++ b/src/settings.c @@ -407,7 +407,7 @@ check_bwhitelist (struct worker_task *task, struct rspamd_settings *s, gboolean { gchar *src_email = NULL, *src_domain = NULL, *data; - if (task->from != NULL) { + if (task->from != NULL && *task->from != '\0') { src_email = task->from; } else { return FALSE; |