Skip to content

Commit

Permalink
uac: explicit name of the function called many times when updating fr…
Browse files Browse the repository at this point in the history
…om/to
  • Loading branch information
miconda committed May 12, 2017
1 parent b02793f commit 88612ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/uac/replace.c
Expand Up @@ -262,7 +262,8 @@ int replace_uri( struct sip_msg *msg, str *display, str *uri,
if(get_route_type()==REQUEST_ROUTE) {
if(msg->msg_flags & uac_flag)
{
LM_ERR("Called uac_replace multiple times on the message\n");
LM_ERR("called uac_replace_%s() multiple times on the message\n",
(hdr==msg->from)?"from":"to");
return -1;
}
}
Expand Down

0 comments on commit 88612ea

Please sign in to comment.