Skip to content

Commit

Permalink
dialog: fix dlg_send_sequential mode parsing & doc
Browse files Browse the repository at this point in the history
Reported by Giovanni Maruzzelli, close #1844

(cherry picked from commit 409346a)
  • Loading branch information
razvancrainea committed Oct 7, 2019
1 parent dbdee13 commit 6a91ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/dialog/dlg_req_within.c
Expand Up @@ -843,7 +843,7 @@ static int mi_parse_mode(const mi_params_t *params, int *src_leg, int *challenge
}
/* 10 because we skip the separator, whatever that is */
mode_s.s += 10;
mode_s.len += 10;
mode_s.len -= 10;
}
if (mode_s.len != 6) {
LM_WARN("Invalid leg specified '%.*s'\n", mode_s.len, mode_s.s);
Expand Down
2 changes: 1 addition & 1 deletion modules/dialog/doc/dialog_admin.xml
Expand Up @@ -2722,7 +2722,7 @@ set_dlg_sharing_tag("vip1");
<emphasis>challenge-caller</emphasis> - same as <emphasis>challenge</emphasis>
</para></listitem>
<listitem><para>
<emphasis>challenge-caller</emphasis> - same as
<emphasis>challenge-callee</emphasis> - same as
<emphasis>challenge-caller</emphasis>, only that it first challenges
the callee, instead of the caller.
</para></listitem>
Expand Down

0 comments on commit 6a91ed0

Please sign in to comment.