소스 검색

dialog: fix error in dlg.list_match for callid parameter (reported from Ilie Soltanici)

Henning Westerholt 5 년 전
부모
커밋
360e012d9d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/modules/dialog/dialog.c

+ 1 - 1
src/modules/dialog/dialog.c

@@ -2942,7 +2942,7 @@ static void rpc_dlg_list_match_ex(rpc_t *rpc, void *c, int with_context)
 		vkey = 1;
 	} else if(mkey.len==4 && strncmp(mkey.s, "turi", mkey.len)==0) {
 		vkey = 2;
-	} else if(mkey.len==5 && strncmp(mkey.s, "callid", mkey.len)==0) {
+	} else if(mkey.len==6 && strncmp(mkey.s, "callid", mkey.len)==0) {
 		vkey = 3;
 	} else {
 		LM_ERR("invalid key %.*s\n", mkey.len, mkey.s);