bus: Re-add ampersand that got lost in refactoring
authorTobias Brunner <tobias@strongswan.org>
Mon, 14 Nov 2016 14:15:11 +0000 (15:15 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 14 Nov 2016 14:15:11 +0000 (15:15 +0100)
Fixes: 4af02c6c61cf ("bus: Fix maximum log level for different groups
after removal of a logger")

src/libcharon/bus/bus.c

index 8e1e72b..f4bba87 100644 (file)
@@ -259,7 +259,7 @@ static inline void unregister_logger(private_bus_t *this, logger_t *logger)
                                loggers = this->loggers[group];
                                loggers->remove(loggers, found, NULL);
                                loggers->find_first(loggers, (linked_list_match_t)find_max_levels,
-                                                                       NULL, group, &level, &vlevel);
+                                                                       NULL, &group, &level, &vlevel);
                                set_level(&this->max_level[group], level);
                                set_level(&this->max_vlevel[group], vlevel);
                        }