ソースを参照

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
Daniel-Constantin Mierla 10 年 前
コミット
59f1451db5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      modules/textops/textops.c

+ 1 - 1
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;