]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add another check of fr_event_fd_insert() for trunk tests (CID #1469165) (#4492)
authorJames Jones <jejones3141@gmail.com>
Thu, 5 May 2022 21:53:54 +0000 (16:53 -0500)
committerGitHub <noreply@github.com>
Thu, 5 May 2022 21:53:54 +0000 (23:53 +0200)
src/lib/server/trunk_tests.c

index 048cfd623b4a6d877dd83f3263dce215c2ad27f9..5b48d5c89e38d02d0d73a86daecd6c3e34838ee4 100644 (file)
@@ -288,7 +288,7 @@ static fr_connection_state_t _conn_open(fr_event_list_t *el, void *h, UNUSED voi
        /*
         *      This always needs to be inserted
         */
-       fr_event_fd_insert(our_h, el, our_h[1], _conn_io_loopback, NULL, NULL, our_h);
+       TEST_CHECK(fr_event_fd_insert(our_h, el, our_h[1], _conn_io_loopback, NULL, NULL, our_h) == 0);
 
        return FR_CONNECTION_STATE_CONNECTED;
 }