Skip to content

Commit

Permalink
Fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Feb 24, 2020
1 parent 62f6445 commit 85bfb20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/rlm_radius/rlm_radius.c
Expand Up @@ -485,7 +485,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_process(void *instance, void *thread, RE
*/
rcode = inst->io->enqueue(&rctx, inst->io_instance, t->io_thread, request);
if (rcode != RLM_MODULE_YIELD) {
rad_assert(rctx = NULL);
rad_assert(rctx == NULL);
return rcode;
}

Expand Down Expand Up @@ -643,7 +643,7 @@ static int mod_bootstrap(void *instance, CONF_SECTION *conf)
fr_packet_codes[inst->status_check], fr_packet_codes[inst->status_check]);
return -1;
}

/*
* @todo - check the contents of the "update"
* section, to be sure that (e.g.) Access-Request
Expand Down

0 comments on commit 85bfb20

Please sign in to comment.