diff --git a/modules/textops/textops.c b/modules/textops/textops.c index a677cba03b6..97f6980b53e 100644 --- a/modules/textops/textops.c +++ b/modules/textops/textops.c @@ -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;