From: Alan T. DeKok Date: Wed, 7 Dec 2016 22:32:12 +0000 (-0500) Subject: print out when we get kevent with no data X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e2e83c8c2daee3e4daf897518829581a62cf837;p=thirdparty%2Ffreeradius-server.git print out when we get kevent with no data --- diff --git a/src/tests/util/channel_test.c b/src/tests/util/channel_test.c index db05f2a1ae5..46b141a5fc8 100644 --- a/src/tests/util/channel_test.c +++ b/src/tests/util/channel_test.c @@ -195,7 +195,10 @@ check_close: MPRINT1("Master got data ready signal\n"); reply = fr_channel_recv_reply(channel); - if (!reply) continue; + if (!reply) { + MPRINT1("Master SIGNAL WITH NO DATA!\n"); + continue; + } do { num_replies++; @@ -340,7 +343,10 @@ static void *channel_worker(void *arg) MPRINT1("\tWorker got data ready signal\n"); cd = fr_channel_recv_request(channel); - if (!cd) continue; + if (!cd) { + MPRINT1("\tWorker SIGNAL WITH NO DATA!\n"); + continue; + } while (cd) { int message_id;