diff --git a/src/modules/permissions/doc/permissions_admin.xml b/src/modules/permissions/doc/permissions_admin.xml index 2c55f246c76..20d75188883 100644 --- a/src/modules/permissions/doc/permissions_admin.xml +++ b/src/modules/permissions/doc/permissions_admin.xml @@ -124,7 +124,7 @@ Instead of the From header field the function uses the To header field because - th To header field in REGISTER messages contains the URI of the person + the To header field in REGISTER messages contains the URI of the person being registered. Instead of the Request-URI of branches the function uses the Contact header field. diff --git a/src/modules/permissions/hash.c b/src/modules/permissions/hash.c index 40dd460c66a..b467d2c9ad1 100644 --- a/src/modules/permissions/hash.c +++ b/src/modules/permissions/hash.c @@ -939,7 +939,7 @@ int match_domain_name_table(struct domain_name_list** table, unsigned int group, /* - * Check if an domain_name/port entry exists in hash table in any group. + * Check if a domain_name/port entry exists in hash table in any group. * Returns first group in which ip_addr/port is found. * Port 0 in hash table matches any port. */ diff --git a/src/modules/permissions/hash.h b/src/modules/permissions/hash.h index e50629ba996..b24cdd38f45 100644 --- a/src/modules/permissions/hash.h +++ b/src/modules/permissions/hash.h @@ -272,7 +272,7 @@ int domain_name_table_insert(struct domain_name_list** table, unsigned int grp, str *domain_name, unsigned int port, str *tagv); /* - * Check if an domain_name/port entry exists in hash table in any group. + * Check if a domain_name/port entry exists in hash table in any group. * Returns first group in which ip_addr/port is found. * Port 0 in hash table matches any port. */