From 3846d9fdb24be2e3aeb2e3199a91c66661820423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Mon, 12 Dec 2022 20:50:34 +0200 Subject: [PATCH] ims_auth: typos a/an --- src/modules/ims_auth/authorize.c | 2 +- src/modules/ims_auth/cxdx_avp.c | 6 +++--- src/modules/ims_auth/cxdx_avp.h | 6 +++--- src/modules/ims_auth/doc/ims_auth_admin.xml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/modules/ims_auth/authorize.c b/src/modules/ims_auth/authorize.c index 260c65085e0..74cad02ada1 100644 --- a/src/modules/ims_auth/authorize.c +++ b/src/modules/ims_auth/authorize.c @@ -1310,7 +1310,7 @@ auth_vector * new_auth_vector(int item_number, str auth_scheme, str authenticate } /** - * Frees the memory taken by a authentication vector + * Frees the memory taken by an authentication vector * @param av - the vector to be freed */ void free_auth_vector(auth_vector * av) { diff --git a/src/modules/ims_auth/cxdx_avp.c b/src/modules/ims_auth/cxdx_avp.c index a8d6a9b46bb..ffad38519b0 100644 --- a/src/modules/ims_auth/cxdx_avp.c +++ b/src/modules/ims_auth/cxdx_avp.c @@ -236,7 +236,7 @@ int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id, } /** - * Creates and adds a Auth-Session-State AVP. + * Creates and adds an Auth-Session-State AVP. * @param msg - the Diameter message to add to. * @param data - the value for the AVP payload * @returns 1 on success or 0 on error @@ -330,7 +330,7 @@ int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg) } /** - * Creates and adds a Authorization-Type AVP. + * Creates and adds an Authorization-Type AVP. * @param msg - the Diameter message to add to. * @param data - the value for the AVP payload * @returns 1 on success or 0 on error @@ -806,7 +806,7 @@ int cxdx_get_auth_data_item_answer(AAAMessage *msg, AAA_AVP **auth_data, } /** - * Creates and adds a ETSI_sip_authorization AVP. + * Creates and adds an ETSI_sip_authorization AVP. * @param username - UserName * @param realm - Realm * @param nonce - Nonce diff --git a/src/modules/ims_auth/cxdx_avp.h b/src/modules/ims_auth/cxdx_avp.h index 131ba10f0e5..6d0a49129b3 100644 --- a/src/modules/ims_auth/cxdx_avp.h +++ b/src/modules/ims_auth/cxdx_avp.h @@ -78,7 +78,7 @@ int cxdx_add_destination_host(AAAMessage *msg,str data); int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,unsigned int auth_id,unsigned int acct_id); /** - * Creates and adds a Auth-Session-State AVP. + * Creates and adds an Auth-Session-State AVP. * @param msg - the Diameter message to add to. * @param data - the value for the AVP payload * @returns 1 on success or 0 on error @@ -118,7 +118,7 @@ int cxdx_add_visited_network_id(AAAMessage *msg,str data); int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg); /** - * Creates and adds a Authorization-Type AVP. + * Creates and adds an Authorization-Type AVP. * @param msg - the Diameter message to add to. * @param data - the value for the AVP payload * @returns 1 on success or 0 on error @@ -209,7 +209,7 @@ int cxdx_get_auth_data_item_answer(AAAMessage *msg, AAA_AVP **auth_data, str *line_identifier); /** - * Creates and adds a ETSI_sip_authorization AVP. + * Creates and adds an ETSI_sip_authorization AVP. * @param username - UserName * @param realm - Realm * @param nonce - Nonce diff --git a/src/modules/ims_auth/doc/ims_auth_admin.xml b/src/modules/ims_auth/doc/ims_auth_admin.xml index f52be29151e..ec893a2dd6a 100644 --- a/src/modules/ims_auth/doc/ims_auth_admin.xml +++ b/src/modules/ims_auth/doc/ims_auth_admin.xml @@ -114,7 +114,7 @@ modparam("ims_auth", "auth_vector_timeout", "domain")
<varname>auth_data_timeout</varname> (int) - Time, in seconds, an used auth vector is valid for. + Time, in seconds, a used auth vector is valid for. Default value is 60.