From: Alan T. DeKok Date: Thu, 12 Jan 2017 16:12:54 +0000 (-0500) Subject: travis fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6deca71a7cd2aac6733b81d859501ebf1ad79728;p=thirdparty%2Ffreeradius-server.git travis fixes --- diff --git a/src/util/receiver.c b/src/util/receiver.c index 5473e000d6e..648f017eedf 100644 --- a/src/util/receiver.c +++ b/src/util/receiver.c @@ -208,14 +208,16 @@ static int fr_receiver_send_request(fr_receiver_t *rc, fr_channel_data_t *cd) * @param[in] ctx the receiver * @param[in] wake the time when the event loop will wake up. */ -static int fr_receiver_idle(UNUSED void *ctx, struct timeval *wake) +static int fr_receiver_idle(void *ctx, struct timeval *wake) { -// fr_receiver_t *rc = ctx; + fr_receiver_t *rc = ctx; #ifndef NDEBUG talloc_get_type_abort(rc, fr_receiver_t); #endif + rad_cond_assert(rc->el != NULL); /* temporary until we actually use rc here */ + if (!wake) { // ready to process requests return 0;