Skip to content

Commit

Permalink
modules/lcr: fixed testing if dont_strip_or_prefix_flag is set
Browse files Browse the repository at this point in the history
(cherry picked from commit b325a77)
  • Loading branch information
juha-h committed Aug 25, 2017
1 parent 071b85f commit ba6ec1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/lcr/lcr_mod.c
Expand Up @@ -2149,7 +2149,7 @@ static int generate_uris(struct sip_msg* _m, char *r_uri, str *r_uri_user,
}

if ((dont_strip_or_prefix_flag_param != -1) &&
isflagset(_m, dont_strip_or_prefix_flag_param)) {
(isflagset(_m, dont_strip_or_prefix_flag_param) == 1)) {
strip = 0;
prefix.len = 0;
}
Expand Down

0 comments on commit ba6ec1a

Please sign in to comment.