From: Arran Cudbard-Bell Date: Wed, 30 Oct 2019 22:05:40 +0000 (-0600) Subject: Minor style fixups X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76f2fc4dd0452b5d5d8a5f4bd07b76b76835180d;p=thirdparty%2Ffreeradius-server.git Minor style fixups --- diff --git a/src/modules/rlm_rest/io.c b/src/modules/rlm_rest/io.c index 13034897c33..a0960e2c21b 100644 --- a/src/modules/rlm_rest/io.c +++ b/src/modules/rlm_rest/io.c @@ -182,13 +182,13 @@ static inline void _rest_io_service(rlm_rest_thread_t *t, int fd, int event) * @param[in] fd that errored. * @param[in] flags from kevent. * @param[in] fd_errno from kevent. - * @param[in] ctx The rlm_rest_thread_t specific to this thread. + * @param[in] uctx The rlm_rest_thread_t specific to this thread. */ -static void _rest_io_service_errored(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, int fd_errno, void *ctx) +static void _rest_io_service_errored(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, int fd_errno, void *uctx) { rlm_rest_thread_t *t; - t = talloc_get_type_abort(ctx, rlm_rest_thread_t); + t = talloc_get_type_abort(uctx, rlm_rest_thread_t); DEBUG4("libcurl fd %i errored: %s", fd, fr_syserror(fd_errno)); @@ -200,13 +200,13 @@ static void _rest_io_service_errored(UNUSED fr_event_list_t *el, int fd, UNUSED * @param[in] el fd was registered with. * @param[in] fd that became writable. * @param[in] flags from kevent. - * @param[in] ctx The rlm_rest_thread_t specific to this thread. + * @param[in] uctx The rlm_rest_thread_t specific to this thread. */ -static void _rest_io_service_writable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *ctx) +static void _rest_io_service_writable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *uctx) { rlm_rest_thread_t *t; - t = talloc_get_type_abort(ctx, rlm_rest_thread_t); + t = talloc_get_type_abort(uctx, rlm_rest_thread_t); DEBUG4("libcurl fd %i now writable", fd); @@ -218,13 +218,13 @@ static void _rest_io_service_writable(UNUSED fr_event_list_t *el, int fd, UNUSED * @param[in] el fd was registered with. * @param[in] fd that became readable. * @param[in] flags from kevent. - * @param[in] ctx The rlm_rest_thread_t specific to this thread. + * @param[in] uctx The rlm_rest_thread_t specific to this thread. */ -static void _rest_io_service_readable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *ctx) +static void _rest_io_service_readable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *uctx) { rlm_rest_thread_t *t; - t = talloc_get_type_abort(ctx, rlm_rest_thread_t); + t = talloc_get_type_abort(uctx, rlm_rest_thread_t); DEBUG4("libcurl fd %i now readable", fd); diff --git a/src/modules/rlm_rest/rest.h b/src/modules/rlm_rest/rest.h index d9f115758ce..4355197b1c2 100644 --- a/src/modules/rlm_rest/rest.h +++ b/src/modules/rlm_rest/rest.h @@ -23,7 +23,7 @@ * * @copyright 2012-2016 Arran Cudbard-Bell (a.cudbardb@freeradius.org) */ -RCSIDH(other_h, "$Id$") +RCSIDH(rest_h, "$Id$") #include #include