]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix assert
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 24 Feb 2020 22:56:22 +0000 (17:56 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 24 Feb 2020 22:56:22 +0000 (17:56 -0500)
src/modules/rlm_radius/rlm_radius.c

index afaf27cbf6e446e79711288ef33cc835bc255e0c..784ae1b38ec480076b5d576f4c4bea9e3c04345e 100644 (file)
@@ -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