Skip to content

Commit

Permalink
textops: fixed reply code on no-match for search_hf() with flag f
Browse files Browse the repository at this point in the history
- true instead of false was returned
- reported and patch by Paolo on sr-users
  • Loading branch information
miconda committed Apr 7, 2015
1 parent 1a3ce79 commit 59f1451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/textops/textops.c
Expand Up @@ -2764,7 +2764,7 @@ static int search_hf_f(struct sip_msg* msg, char* str_hf, char* re, char *flags)
return 1;
} else {
if(flags!=NULL && *flags=='f')
return 1;
return -1;
}
} else {
hfl = hf;
Expand Down

0 comments on commit 59f1451

Please sign in to comment.