diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 09:59:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 09:59:52 +0000 |
commit | 6bc5286496c43a0ee9f1a616507c7aa03e28450c (patch) | |
tree | 9a6ed4374aaf129777560ba58f608368fb8754df /src/plugins/surbl.c | |
parent | 153e64677902c1acc7a1e8ee21d5b634d8a65885 (diff) | |
download | rspamd-6bc5286496c43a0ee9f1a616507c7aa03e28450c.tar.gz rspamd-6bc5286496c43a0ee9f1a616507c7aa03e28450c.zip |
Refactor UCL API
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index b49ed8f3c..b87e79f0d 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -671,7 +671,7 @@ surbl_module_config (struct rspamd_config *cfg) if (cur != NULL && cur->type == UCL_OBJECT) { it = NULL; while ((cur_bit = - ucl_iterate_object (cur, &it, true)) != NULL) { + ucl_object_iterate (cur, &it, true)) != NULL) { if (ucl_object_key (cur_bit) != NULL && cur_bit->type == UCL_INT) { gchar *p; @@ -708,7 +708,7 @@ surbl_module_config (struct rspamd_config *cfg) new_suffix->ips); while ((cur_bit = - ucl_iterate_object (cur, &it, true)) != NULL) { + ucl_object_iterate (cur, &it, true)) != NULL) { if (ucl_object_key (cur_bit) != NULL) { gchar *p; |