]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Minor style fixups
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 30 Oct 2019 22:05:40 +0000 (16:05 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 30 Oct 2019 22:05:51 +0000 (16:05 -0600)
src/modules/rlm_rest/io.c
src/modules/rlm_rest/rest.h

index 13034897c33385961d6e8775c722a53215094373..a0960e2c21b1b14608a6955b91ce2442e8abbbd7 100644 (file)
@@ -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);
 
index d9f115758ce95d22b16a6a633d05422b96ffa85d..4355197b1c28753d21e0a1e871171b8609d81464 100644 (file)
@@ -23,7 +23,7 @@
  *
  * @copyright 2012-2016 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
  */
-RCSIDH(other_h, "$Id$")
+RCSIDH(rest_h, "$Id$")
 
 #include <freeradius-devel/server/pairmove.h>
 #include <freeradius-devel/server/pool.h>