]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Minor fixes
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 23 Feb 2021 20:14:23 +0000 (20:14 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 23 Feb 2021 20:14:23 +0000 (20:14 +0000)
src/lib/eap/tls.c
src/lib/redis/redis.c

index 4ea8d74df9688866e54120d18c4618727bee968e..b775ae0119ea5ddece06dd3cc1733b66df9978a5 100644 (file)
@@ -268,7 +268,7 @@ int eap_tls_success(request_t *request, eap_session_t *eap_session,
                    char const *sessid_prf_label, size_t sessid_prf_label_len)
 {
        eap_tls_session_t       *eap_tls_session = talloc_get_type_abort(eap_session->opaque, eap_tls_session_t);
-       fr_tls_session_t                *tls_session = eap_tls_session->tls_session;
+       fr_tls_session_t        *tls_session = eap_tls_session->tls_session;
 
        fr_assert(request->parent);     /* must be a subrequest */
 
index cfbff125064debfad6042049195d4431bdccfb30..cf5b08820349cb7494fcab001354bead25231d34 100644 (file)
 #include <freeradius-devel/util/debug.h>
 
 fr_table_num_sorted_t const redis_reply_types[] = {
-       { L("array"),   REDIS_REPLY_ARRAY       },
-       { L("error"),   REDIS_REPLY_ERROR       },
-       { L("integer"), REDIS_REPLY_INTEGER     },
-       { L("nil"),     REDIS_REPLY_NIL         },
-       { L("status"),  REDIS_REPLY_STATUS      },
-       { L("string"),  REDIS_REPLY_STRING      }
+       { L("array"),           REDIS_REPLY_ARRAY       },
+       { L("error"),           REDIS_REPLY_ERROR       },
+       { L("integer"),         REDIS_REPLY_INTEGER     },
+       { L("nil"),             REDIS_REPLY_NIL         },
+       { L("status"),          REDIS_REPLY_STATUS      },
+       { L("string"),          REDIS_REPLY_STRING      }
 };
 size_t redis_reply_types_len = NUM_ELEMENTS(redis_reply_types);
 
 fr_table_num_sorted_t const redis_rcodes[] = {
-       { L("ask"),     REDIS_RCODE_ASK         },
-       { L("error"),   REDIS_RCODE_ERROR       },
-       { L("move"),    REDIS_RCODE_MOVE        },
+       { L("ask"),             REDIS_RCODE_ASK         },
+       { L("error"),           REDIS_RCODE_ERROR       },
+       { L("move"),            REDIS_RCODE_MOVE        },
        { L("reconnect"),       REDIS_RCODE_RECONNECT   },
-       { L("success"), REDIS_RCODE_SUCCESS     },
+       { L("success"),         REDIS_RCODE_SUCCESS     },
        { L("try again"),       REDIS_RCODE_TRY_AGAIN   }
 };
 size_t redis_rcodes_len = NUM_ELEMENTS(redis_rcodes);
@@ -56,8 +56,8 @@ void fr_redis_version_print(void)
 
 /** Check the reply for errors
  *
- * @param conn used to issue the command.
- * @param reply to process.
+ * @param[in] conn used to issue the command.
+ * @param[in] reply to process.
  * @return
  *     - REDIS_RCODE_TRY_AGAIN - If the operation should be retries.
  *     - REDIS_RCODE_MOVED     - If the key has been permanently moved.
@@ -132,10 +132,10 @@ fr_redis_rcode_t fr_redis_command_status(fr_redis_conn_t *conn, redisReply *repl
 
 /** Print the response data in a useful treelike form
  *
- * @param lvl to print data at.
- * @param reply to print.
- * @param request The current request.
- * @param idx Response number.
+ * @param[in] lvl to print data at.
+ * @param[in] reply to print.
+ * @param[in] request The current request.
+ * @param[in] idx Response number.
  */
 void fr_redis_reply_print(fr_log_lvl_t lvl, redisReply *reply, request_t *request, int idx)
 {