diff options
Diffstat (limited to 'src/settings.c')
-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; |