diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 19:11:49 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 19:11:49 +0300 |
commit | 3d7650fc497c779e7ca0abc78310250d057f0301 (patch) | |
tree | b8abe0afe4c751729fec4996b1e9db9b4f1bd0e4 /src/plugins/surbl.c | |
parent | ea1da6a43cf4f6bfcc23722a05baaae203a00db4 (diff) | |
download | rspamd-3d7650fc497c779e7ca0abc78310250d057f0301.tar.gz rspamd-3d7650fc497c779e7ca0abc78310250d057f0301.zip |
More cleanups and fixes for compiler warnings.0.4.6
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index b1f51b7fc..fe0c1d6de 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -514,7 +514,7 @@ format_surbl_request (memory_pool_t * pool, f_str_t * hostname, struct suffix_it /* Check for numeric expressions */ if (is_numeric && dots_num == 3) { /* This is ip address */ - if ((suffix->options & SURBL_OPTION_NOIP) != 0) { + if (suffix != NULL && (suffix->options & SURBL_OPTION_NOIP) != 0) { /* Ignore such requests */ msg_info ("ignore request of ip url for list %s", suffix->symbol); return NULL; |