]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Ignore fr_event_timer_in() return here, too (CID #154036) (#4773)
authorJames Jones <jejones3141@gmail.com>
Tue, 18 Oct 2022 17:13:07 +0000 (12:13 -0500)
committerGitHub <noreply@github.com>
Tue, 18 Oct 2022 17:13:07 +0000 (13:13 -0400)
Like 1503936, this is in a callback and will reuse the idle
timeout event.

src/lib/ldap/connection.c

index 820eb04d50244cfaa6b4da89f55b487b0c33a0d2..d3bc487d264b040ca9bc5d6a2beb837b3daad741 100644 (file)
@@ -734,8 +734,8 @@ static void ldap_trunk_request_demux(fr_event_list_t *el, fr_trunk_connection_t
        /*
         *  Reset the idle timeout event
         */
-       fr_event_timer_in(ttrunk, el, &ttrunk->ev,
-                         ttrunk->t->config->idle_timeout, _ldap_trunk_idle_timeout, ttrunk);
+       (void) fr_event_timer_in(ttrunk, el, &ttrunk->ev,
+                                ttrunk->t->config->idle_timeout, _ldap_trunk_idle_timeout, ttrunk);
 
        do {
                /*