Browse code

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

Henning Westerholt authored on 03/10/2020 16:58:53
Showing 1 changed files
... ...
@@ -2942,7 +2942,7 @@ static void rpc_dlg_list_match_ex(rpc_t *rpc, void *c, int with_context)
2942 2942
 		vkey = 1;
2943 2943
 	} else if(mkey.len==4 && strncmp(mkey.s, "turi", mkey.len)==0) {
2944 2944
 		vkey = 2;
2945
-	} else if(mkey.len==5 && strncmp(mkey.s, "callid", mkey.len)==0) {
2945
+	} else if(mkey.len==6 && strncmp(mkey.s, "callid", mkey.len)==0) {
2946 2946
 		vkey = 3;
2947 2947
 	} else {
2948 2948
 		LM_ERR("invalid key %.*s\n", mkey.len, mkey.s);