From: James Jones Date: Thu, 5 May 2022 21:53:54 +0000 (-0500) Subject: Add another check of fr_event_fd_insert() for trunk tests (CID #1469165) (#4492) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b4cc28622fd40248785e15db5e7ecd3024ec30;p=thirdparty%2Ffreeradius-server.git Add another check of fr_event_fd_insert() for trunk tests (CID #1469165) (#4492) --- diff --git a/src/lib/server/trunk_tests.c b/src/lib/server/trunk_tests.c index 048cfd623b4..5b48d5c89e3 100644 --- a/src/lib/server/trunk_tests.c +++ b/src/lib/server/trunk_tests.c @@ -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; }