From: Arran Cudbard-Bell Date: Mon, 24 Feb 2020 22:56:22 +0000 (-0500) Subject: Fix assert X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85bfb202fdd2575d7618390a62547ee3b41bf982;p=thirdparty%2Ffreeradius-server.git Fix assert --- diff --git a/src/modules/rlm_radius/rlm_radius.c b/src/modules/rlm_radius/rlm_radius.c index afaf27cbf6e..784ae1b38ec 100644 --- a/src/modules/rlm_radius/rlm_radius.c +++ b/src/modules/rlm_radius/rlm_radius.c @@ -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; } @@ -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