Skip to content

Commit

Permalink
lost: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Jun 12, 2023
1 parent 70a9ea2 commit d7700dd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/modules/lost/doc/lost_admin.xml
Expand Up @@ -56,7 +56,7 @@
hop in a Route header.
</para>
<para>
The http_client module use the CURL library setting up connections.
The http_client module uses the CURL library setting up connections.
The CURL library by default use the system configured DNS resolver,
not the Kamailio resolver.
</para>
Expand Down Expand Up @@ -374,7 +374,7 @@
</para></listitem>
</itemizedlist>
<para>
The return value is 200 on success, 400 if an internal error occured, or 500 if an
The return value is 200 on success, 400 if an internal error occurred, or 500 if an
error code is returned in the HELD locationRequest response.
</para>
<para>
Expand Down Expand Up @@ -403,7 +403,7 @@ xlog("L_INFO", "HELD locationRequest: Result code $var(res)\nUrl: $var(url)\n$va
<function moreinfo="none">lost_held_dereference(url, rtime, rtype, pidf-lo, error)</function>
</title>
<para>
Sends a HELD POST locationRequest to a given URL. Attributes are responseTime and resposeType.
Sends a HELD POST locationRequest to a given URL. Attributes are responseTime and responseType.
The <emphasis>locationType</emphasis> property "exact" is set to "false".
</para>
<itemizedlist>
Expand All @@ -429,7 +429,7 @@ xlog("L_INFO", "HELD locationRequest: Result code $var(res)\nUrl: $var(url)\n$va
</para></listitem>
</itemizedlist>
<para>
The return value is 200..203 on success, 400 if an internal error occured, or 500 if an
The return value is 200..203 on success, 400 if an internal error occurred, or 500 if an
error code is returned in the HELD response. Success codes in detail are as follows:
</para>
<itemizedlist>
Expand Down Expand Up @@ -500,7 +500,7 @@ if ($hdr(Geolocation)=~"^&lt;http.*$") {
</para></listitem>
</itemizedlist>
<para>
The return value is 200 on success, 400 if an internal error occured, or 500 if an
The return value is 200 on success, 400 if an internal error occurred, or 500 if an
error code is returned in the LOST findServiceResponse.
</para>
<para>
Expand Down
4 changes: 2 additions & 2 deletions src/modules/lost/functions.c
Expand Up @@ -296,7 +296,7 @@ int lost_held_function(struct sip_msg *_m, char *_con, char *_pidf, char *_url,
/* we have no connection ... do a NAPTR lookup */
if(lost_parse_host(did.s, &host, &flag) > 0) {

LM_DBG("no conn. trying NATPR lookup [%.*s]\n", host.len, host.s);
LM_DBG("no conn. trying NAPTR lookup [%.*s]\n", host.len, host.s);

/* remove '[' and ']' from string (IPv6) */
if(flag == AF_INET6) {
Expand Down Expand Up @@ -338,7 +338,7 @@ int lost_held_function(struct sip_msg *_m, char *_con, char *_pidf, char *_url,
goto err;
}

LM_DBG("NATPR lookup returned [%.*s]\n", url.len, url.s);
LM_DBG("NAPTR lookup returned [%.*s]\n", url.len, url.s);

/* curl doesn't like str */
len = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/modules/lost/response.c
Expand Up @@ -529,7 +529,7 @@ void lost_delete_response_issues(p_lost_issue_t *list)

/*
* lost_delete_response_issue(mapping)
* removes respone data object from private memory
* removes response data object from private memory
*/
void lost_delete_response_data(p_lost_data_t *m)
{
Expand Down Expand Up @@ -1072,7 +1072,7 @@ p_lost_fsr_t lost_parse_findServiceResponse(str ret)
* 1: location reference found
* 2: location value found
* 3: location value and reference found
* multiple occurences are ignored
* multiple occurrences are ignored
*/
int lost_check_HeldResponse(xmlNodePtr node)
{
Expand Down
2 changes: 1 addition & 1 deletion src/modules/lost/response.h
Expand Up @@ -120,7 +120,7 @@ typedef struct lost_fsr

/* read and parse response data */
p_lost_fsr_t lost_parse_findServiceResponse(str);
/* check response to dereferece request */
/* check response to dereference request */
int lost_check_HeldResponse(xmlNodePtr);
/* appends value to list objects */
int lost_append_response_list(p_lost_list_t *, str);
Expand Down

0 comments on commit d7700dd

Please sign in to comment.