Skip to content

Commit

Permalink
textops: stop after substituting in first header if flag f is set for…
Browse files Browse the repository at this point in the history
… subst_hf()

- reported by Julia Boudniatsky
  • Loading branch information
miconda committed Mar 9, 2015
1 parent f39b92a commit 0f5aaac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/textops/textops.c
Expand Up @@ -2874,6 +2874,9 @@ static int subst_hf_f(struct sip_msg *msg, char *str_hf, char *subst, char *flag
} else {
hfl = hf;
}
/* if flags set for first header, then all done */
if(flags!=NULL && *flags=='f')
return ret;
}
if(hfl!=NULL)
{
Expand Down

0 comments on commit 0f5aaac

Please sign in to comment.