From 59f1451db54be608f1417075001d2f0aa5be8786 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 7 Apr 2015 12:34:34 +0200 Subject: [PATCH] textops: fixed reply code on no-match for search_hf() with flag f - true instead of false was returned - reported and patch by Paolo on sr-users --- modules/textops/textops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;