]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
travis fixes
authorAlan T. DeKok <aland@freeradius.org>
Thu, 12 Jan 2017 16:12:54 +0000 (11:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 12 Jan 2017 16:12:54 +0000 (11:12 -0500)
src/util/receiver.c

index 5473e000d6ef0497b495b62aaf159c0141c28198..648f017eedf62738dd99074867df3d130102a987 100644 (file)
@@ -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;