Module: kamailio Branch: 4.2 Commit: ac36829250fb8cf8347328cdfd980fd9362a1e33 URL: https://github.com/kamailio/kamailio/commit/ac36829250fb8cf8347328cdfd980fd9...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-04-07T12:36:06+02:00
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
(cherry picked from commit 59f1451db54be608f1417075001d2f0aa5be8786)
---
Modified: modules/textops/textops.c
---
Diff: https://github.com/kamailio/kamailio/commit/ac36829250fb8cf8347328cdfd980fd9... Patch: https://github.com/kamailio/kamailio/commit/ac36829250fb8cf8347328cdfd980fd9...
---
diff --git a/modules/textops/textops.c b/modules/textops/textops.c index 50a6f07..a945937 100644 --- a/modules/textops/textops.c +++ b/modules/textops/textops.c @@ -2779,7 +2779,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;