]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Incorrect ctx for timer
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 3 Nov 2021 19:32:42 +0000 (15:32 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 3 Nov 2021 19:32:42 +0000 (15:32 -0400)
src/lib/ldap/connection.c

index 1fa85c41647212bf82f9b6eada0cbbc42850256a..39ef8ccc8042849a88a5170089ebba47b86bbb55 100644 (file)
@@ -1001,7 +1001,7 @@ fr_ldap_thread_trunk_t *fr_thread_ldap_trunk_get(fr_ldap_thread_t *thread, char
        /*
         *  Insert event to close trunk if it becomes idle
         */
-       fr_event_timer_in(thread, thread->el, &found->ev, thread->config->idle_timeout,
+       fr_event_timer_in(found, thread->el, &found->ev, thread->config->idle_timeout,
                          _ldap_trunk_idle_timeout, found);
 
        /*