Skip to content

Commit

Permalink
ims_auth: typos a/an
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Dec 16, 2022
1 parent 6f06537 commit 3846d9f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/modules/ims_auth/authorize.c
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions src/modules/ims_auth/cxdx_avp.c
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/modules/ims_auth/cxdx_avp.h
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ims_auth/doc/ims_auth_admin.xml
Expand Up @@ -114,7 +114,7 @@ modparam("ims_auth", "auth_vector_timeout", "domain")
<section>
<title><varname>auth_data_timeout</varname> (int)</title>

<para>Time, in seconds, an used auth vector is valid for.</para>
<para>Time, in seconds, a used auth vector is valid for.</para>

<para>Default value is <quote>60</quote>.</para>

Expand Down

0 comments on commit 3846d9f

Please sign in to comment.