diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-19 13:06:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-19 13:06:49 +0000 |
commit | 2287a9092a9300cc56a05a9e83771e0bf05dc064 (patch) | |
tree | 7408f8d9e2b5e9d01806e1347f1bb0f38918ab7a /src/plugins/surbl.c | |
parent | 970a8f6bf3b0f0b601567483c29f91af72d99008 (diff) | |
download | rspamd-2287a9092a9300cc56a05a9e83771e0bf05dc064.tar.gz rspamd-2287a9092a9300cc56a05a9e83771e0bf05dc064.zip |
Use flags for urls
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 f3f09c29b..40ab9f668 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -678,7 +678,7 @@ format_surbl_request (rspamd_mempool_t * pool, len = hostname->len + slen + 2; p = hostname->begin; - is_numeric = url->is_numeric; + is_numeric = url->flags & RSPAMD_URL_FLAG_NUMERIC; while (p - hostname->begin < (gint)hostname->len && dots_num < MAX_LEVELS) { if (*p == '.') { |