diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 17:08:57 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 17:08:57 +0000 |
commit | e4d146bfc88fdeed63034f7cc85f2602b25163fb (patch) | |
tree | d3a84e44f00fccaa92618c502c11f8c1aecb743b /src/libutil | |
parent | 7a1aac9058a1b5f06d3212f1abf1eae701775a92 (diff) | |
download | rspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.tar.gz rspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.zip |
Fix maps initialisation
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/map.c | 4 | ||||
-rw-r--r-- | src/libutil/map.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c index d8b55eeee..7958867b3 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -617,8 +617,8 @@ http_callback (gint fd, short what, void *ud) /* Start watching event for all maps */ void rspamd_map_watch (struct rspamd_config *cfg, - struct rspamd_dns_resolver *resolver, - struct event_base *ev_base) + struct event_base *ev_base, + struct rspamd_dns_resolver *resolver) { GList *cur = cfg->maps; struct rspamd_map *map; diff --git a/src/libutil/map.h b/src/libutil/map.h index 80be704e8..26a47abf8 100644 --- a/src/libutil/map.h +++ b/src/libutil/map.h @@ -59,8 +59,8 @@ gboolean rspamd_map_add (struct rspamd_config *cfg, * Start watching of maps by adding events to libevent event loop */ void rspamd_map_watch (struct rspamd_config *cfg, - struct rspamd_dns_resolver *resolver, - struct event_base *ev_base); + struct event_base *ev_base, + struct rspamd_dns_resolver *resolver); /** * Remove all maps watched (remove events) |