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/libutil/upstream.c | |
parent | 153e64677902c1acc7a1e8ee21d5b634d8a65885 (diff) | |
download | rspamd-6bc5286496c43a0ee9f1a616507c7aa03e28450c.tar.gz rspamd-6bc5286496c43a0ee9f1a616507c7aa03e28450c.zip |
Refactor UCL API
Diffstat (limited to 'src/libutil/upstream.c')
-rw-r--r-- | src/libutil/upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c index b1af43b50..574cf0667 100644 --- a/src/libutil/upstream.c +++ b/src/libutil/upstream.c @@ -643,7 +643,7 @@ rspamd_upstreams_from_ucl (struct upstream_list *ups, ucl_object_iter_t it = NULL; if (ucl_object_type (in) == UCL_ARRAY) { - while ((cur = ucl_iterate_object (in, &it, true)) != NULL) { + while ((cur = ucl_object_iterate (in, &it, true)) != NULL) { if (rspamd_upstreams_from_ucl (ups, cur, def_port, data)) { ret = TRUE; } |