Skip to content

Commit

Permalink
tsilo: 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 20fa33e commit e138e94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/modules/tsilo/doc/tsilo_admin.xml
Expand Up @@ -259,8 +259,8 @@ if (is_method("REGISTER")) {
<programlisting format="linespecific">
...
if (is_method("REGISTER")) {
$var(formated_ct) = $(x_hdr(Contact){nameaddr.uri});
ts_append_by_contact("location", "$tu", "$var(formated_ct)");
$var(formatted_ct) = $(x_hdr(Contact){nameaddr.uri});
ts_append_by_contact("location", "$tu", "$var(formatted_ct)");
}
...
</programlisting>
Expand Down
4 changes: 2 additions & 2 deletions src/modules/tsilo/ts_append.c
Expand Up @@ -125,13 +125,13 @@ int ts_append_to(struct sip_msg *msg, int tindex, int tlabel, char *table,

/* check if the dialog is still in the early stage */
if(t->flags & T_CANCELED) {
LM_DBG("trasaction [%u:%u] was cancelled\n", tindex, tlabel);
LM_DBG("transaction [%u:%u] was cancelled\n", tindex, tlabel);
ret = -2;
goto done;
}

if(t->uas.status >= 200) {
LM_DBG("trasaction [%u:%u] sent out a final response already - %d\n",
LM_DBG("transaction [%u:%u] sent out a final response already - %d\n",
tindex, tlabel, t->uas.status);
ret = -3;
goto done;
Expand Down
4 changes: 2 additions & 2 deletions src/modules/tsilo/tsilo.c
Expand Up @@ -380,7 +380,7 @@ static int w_ts_append_to2(
}

if(fixup_get_svalue(msg, (gparam_t *)ruri, &suri) != 0) {
LM_ERR("failed to conert r-uri parameter\n");
LM_ERR("failed to convert r-uri parameter\n");
return -1;
}
if(ts_check_uri(&suri) < 0)
Expand Down Expand Up @@ -690,7 +690,7 @@ static int w_ts_store1(struct sip_msg *msg, char *_ruri, char *p2)
str suri;

if(fixup_get_svalue(msg, (gparam_t *)_ruri, &suri) != 0) {
LM_ERR("failed to conert r-uri parameter\n");
LM_ERR("failed to convert r-uri parameter\n");
return -1;
}
return ts_store(msg, &suri);
Expand Down

0 comments on commit e138e94

Please sign in to comment.