From: James Jones Date: Tue, 21 Feb 2023 23:00:47 +0000 (-0600) Subject: doxygen typo (@param, not @parma) (#4906) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f80f6ce88297099150f8f7b29f74a93740b8e2d;p=thirdparty%2Ffreeradius-server.git doxygen typo (@param, not @parma) (#4906) --- diff --git a/src/lib/eap_aka_sim/id.c b/src/lib/eap_aka_sim/id.c index 10e6ad20830..0c50d50c30d 100644 --- a/src/lib/eap_aka_sim/id.c +++ b/src/lib/eap_aka_sim/id.c @@ -295,7 +295,7 @@ bad_format: /** Determine if a given identity is a 3gpp identity, and return the EAP method hinted * - * @parma[in] id to check. + * @param[in] id to check. * @param[in] len Length of the id. * @return * - FR_EAP_METHOD_INVALID if this is not a 3gpp identity. diff --git a/src/lib/server/tmpl_tokenize.c b/src/lib/server/tmpl_tokenize.c index 5fe9d4915d7..2cb83955be3 100644 --- a/src/lib/server/tmpl_tokenize.c +++ b/src/lib/server/tmpl_tokenize.c @@ -504,7 +504,7 @@ int8_t tmpl_request_ref_list_cmp(FR_DLIST_HEAD(tmpl_request_list) const *a, FR_D /** Parse one or more request references, writing the list to out * - * @parma[in] ctx to allocate request refs in. + * @param[in] ctx to allocate request refs in. * @param[out] err If !NULL where to write the parsing error. * @param[in] in Sbuff to read request references from. * @param[in] p_rules Parse rules. @@ -663,7 +663,7 @@ static fr_slen_t tmpl_request_ref_list_from_substr(TALLOC_CTX *ctx, tmpl_attr_er * * This can be used to create request ref lists for rules and for tmpls. * - * @parma[in] ctx to allocate request refs in. + * @param[in] ctx to allocate request refs in. * @param[out] err If !NULL where to write the parsing error. * @param[in] in Sbuff to read request references from. * @return diff --git a/src/lib/server/virtual_servers.c b/src/lib/server/virtual_servers.c index 4bd66ba0eb9..f57166adb90 100644 --- a/src/lib/server/virtual_servers.c +++ b/src/lib/server/virtual_servers.c @@ -797,7 +797,7 @@ int virtual_server_cf_parse(UNUSED TALLOC_CTX *ctx, void *out, UNUSED void *pare * This function walks down the registration table, compiling each * named section. * - * @parma[in] server to search for sections in. + * @param[in] server to search for sections in. * @param[in] list of sections to compiler. * @param[in] rules to apply for pass1. * @param[in] instance module instance data. The offset value in diff --git a/src/lib/tls/cert.c b/src/lib/tls/cert.c index 0a5648c7e0d..315d76d2a35 100644 --- a/src/lib/tls/cert.c +++ b/src/lib/tls/cert.c @@ -38,7 +38,7 @@ USES_APPLE_DEPRECATED_API /* OpenSSL API has been deprecated by Apple */ * * @param[out] not_before_p Where to write the not before time. May be NULL. * @param[out] not_after_p Where to write the not after time. May be NULL. - * @parma[in] cert The Certificate to validate. + * @param[in] cert The Certificate to validate. * @return * - -1 if we can't parse the notBefore or notAfter values in the cert. * - -2 if the cert has expired (not_before_p, not_after_p still populated). diff --git a/src/lib/util/strerror.c b/src/lib/util/strerror.c index 8c447481d26..c3de10cdac3 100644 --- a/src/lib/util/strerror.c +++ b/src/lib/util/strerror.c @@ -189,7 +189,7 @@ static fr_log_entry_t *strerror_vprintf(char const *file, int line, char const * /** Add a message to an existing stack of messages * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] fmt printf style format string. * @param[in] ap Arguments for the error string. * @@ -234,7 +234,7 @@ static fr_log_entry_t *strerror_vprintf_push(char const *file, int line, /** Log to thread local error buffer * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] fmt printf style format string. * If NULL clears any existing messages. * @param[in] ap Arguments for the format string. @@ -253,7 +253,7 @@ void _fr_strerror_vprintf(char const *file, int line, char const *fmt, va_list a /** Add a message to an existing stack of messages at the tail * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] fmt printf style format string. * @param[in] ap Arguments for the format string. * @@ -280,7 +280,7 @@ void _fr_strerror_vprintf_push(char const *file, int line, char const *fmt, va_l /** Add a message to an existing stack of messages at the head * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] fmt printf style format string. * @param[in] ap Arguments for the format string. * @@ -307,7 +307,7 @@ void _fr_strerror_vprintf_push_head(char const *file, int line, char const *fmt, /** Add an error marker to an existing stack of messages * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] subject to mark up. * @param[in] offset Positive offset to show where the error * should be positioned. @@ -335,7 +335,7 @@ void _fr_strerror_marker_vprintf(char const *file, int line, /** Add an error marker to an existing stack of messages at the tail * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] subject to mark up. * @param[in] offset Positive offset to show where the error * should be positioned. @@ -369,7 +369,7 @@ void _fr_strerror_marker_vprintf_push(char const *file, int line, /** Add an error marker to an existing stack of messages at the head * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] subject to mark up. * @param[in] offset Positive offset to show where the error * should be positioned. @@ -441,7 +441,7 @@ static inline CC_HINT(always_inline) fr_log_entry_t *strerror_const(char const * /** Log to thread local error buffer * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] msg To add to error stack. Must have a * lifetime equal to that of the program. * @hidecallergraph @@ -454,7 +454,7 @@ void _fr_strerror_const(char const *file, int line, char const *msg) /** Add a message to an existing stack of messages * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] buffer to add the message to. * @param[in] msg To add to error stack. Must have a * lifetime equal to that of the program. @@ -498,7 +498,7 @@ static inline CC_HINT(always_inline) fr_log_entry_t *strerror_const_push(char co /** Add a message to an existing stack of messages at the tail * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] msg To add to error stack. Must have a * lifetime equal to that of the program. * @@ -521,7 +521,7 @@ void _fr_strerror_const_push(char const *file, int line, char const *msg) /** Add a message to an existing stack of messages at the head * * @param[in] file the error occurred in. - * @parma[in] line the error occurred on. + * @param[in] line the error occurred on. * @param[in] msg To add to error stack. Must have a * lifetime equal to that of the program. * diff --git a/src/modules/rlm_lua/lua.c b/src/modules/rlm_lua/lua.c index da6f24128b8..b8128758fbf 100644 --- a/src/modules/rlm_lua/lua.c +++ b/src/modules/rlm_lua/lua.c @@ -873,7 +873,7 @@ static void fr_lua_rcode_register(lua_State *L, char const *name) * Creates a new lua_State and verifies all required functions have been loaded correctly. * * @param[in] out Where to write a pointer to the new state. - * @parma[in] mctx configuration data for the + * @param[in] mctx configuration data for the * @return 0 on success else -1. */ int fr_lua_init(lua_State **out, module_inst_ctx_t const *mctx)