Module: kamailio
Branch: master
Commit: feb5d27f8a063b0c533d294be9e4726f75b96a0a
URL:
https://github.com/kamailio/kamailio/commit/feb5d27f8a063b0c533d294be9e4726…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-04-10T08:05:56+02:00
enum: typos
---
Modified: src/modules/enum/doc/enum_admin.xml
Modified: src/modules/enum/enum.c
---
Diff:
https://github.com/kamailio/kamailio/commit/feb5d27f8a063b0c533d294be9e4726…
Patch:
https://github.com/kamailio/kamailio/commit/feb5d27f8a063b0c533d294be9e4726…
---
diff --git a/src/modules/enum/doc/enum_admin.xml b/src/modules/enum/doc/enum_admin.xml
index 46e68f14f2c..34e848dd4c9 100644
--- a/src/modules/enum/doc/enum_admin.xml
+++ b/src/modules/enum/doc/enum_admin.xml
@@ -362,7 +362,7 @@
enum_pv_query("$avp(i:100)","e164.arpa.","+sip+voice:sip");
</title>
<para>
The function performs an enum query and rewrites the Request-URI with
- the result of the query. This the Infrastructure-ENUM version of enum_query().
+ the result of the query. This is the Infrastructure-ENUM version of
enum_query().
The only difference to enum_query() is in the calculation of the
FQDN where NAPTR records are looked for.
</para>
diff --git a/src/modules/enum/enum.c b/src/modules/enum/enum.c
index 7d1d1553fb1..c292c195d9a 100644
--- a/src/modules/enum/enum.c
+++ b/src/modules/enum/enum.c
@@ -209,7 +209,7 @@ static inline int sip_match(struct naptr_rdata *naptr, str *service)
&& (strncasecmp(naptr->services + 4 + service->len, ":sip",
4)
== 0);
} else { /* handle compound NAPTRs and multiple services */
- str bakservice, baknaptr; /* we bakup the str */
+ str bakservice, baknaptr; /* we backup the str */
int naptrlen, len; /* length of the extracted service */
/* RFC 3761, NAPTR service field must start with E2U+ */