]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rename
authorAlan T. DeKok <aland@freeradius.org>
Wed, 26 Jul 2017 14:05:19 +0000 (10:05 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 26 Jul 2017 23:55:49 +0000 (19:55 -0400)
src/modules/rlm_radius/rlm_radius.c
src/modules/rlm_radius/rlm_radius.h

index 6fc6ec124b41b7c7b686f818c3e375a08d5e30fe..068e9332a60d50102f5950ecc77f21ab0b19343c 100644 (file)
@@ -248,7 +248,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_process(void *instance, void *thread, RE
        /*
         *      Push the request and it's link to the IO submodule.
         */
-       if (inst->io->push(inst, request, link, t->io_thread_ctx) < 0) {
+       if (inst->io->push(inst, request, link, t->thread_io_ctx) < 0) {
                talloc_free(link);
                return RLM_MODULE_FAIL;
        }
@@ -421,8 +421,8 @@ static int mod_thread_instantiate(UNUSED CONF_SECTION const *cs, void *instance,
         *      Allocate thread-specific data.  The connections should
         *      live here.
         */
-       t->io_thread_ctx = talloc_zero_array(t, uint8_t, inst->io->thread_inst_size);
-       if (!t->io_thread_ctx) {
+       t->thread_io_ctx = talloc_zero_array(t, uint8_t, inst->io->thread_inst_size);
+       if (!t->thread_io_ctx) {
                talloc_free(t);
                return -1;
        }
@@ -431,7 +431,7 @@ static int mod_thread_instantiate(UNUSED CONF_SECTION const *cs, void *instance,
         *      Instantiate the per-thread data.  This should open up
         *      sockets, set timers, etc.
         */
-       if (inst->io->thread_instantiate(inst->io_conf, inst->io_instance, el, t->io_thread_ctx) < 0) {
+       if (inst->io->thread_instantiate(inst->io_conf, inst->io_instance, el, t->thread_io_ctx) < 0) {
                talloc_free(t);
                return -1;
        }
index 82ca90be7154c3621a93477fad1b3ba9631c37fd..33d2a5efc53a6a19e5d76767e8eed73717572131 100644 (file)
@@ -107,7 +107,7 @@ typedef struct rlm_radius_thread_t {
 
        fr_dlist_t              running;                //!< running requests
 
-       void                    *io_thread_ctx;         //!< IO context for the IO submodule
+       void                    *thread_io_ctx;         //!< IO context for the IO submodule
 } rlm_radius_thread_t;
 
 #endif /* _RLM_RADIUS_H */