Skip to content
Snippets Groups Projects

Fixed json rpc subscriptions uninit

Merged Bogdan Bogush requested to merge fix_jrpc_subs_uninit into devel
Files
2
+ 1
1
@@ -73,7 +73,7 @@ int subs_event_handler(const json_object *jmsg, int param_count, json_object *jr
return RETURN_ERR;
}
if (!match(param_request.name, FIREWALL_RULE_DATA_SIP_PATTERN, 0, NULL) ||
if (!match(param_request.name, FIREWALL_RULE_DATA_SIP_PATTERN, 0, NULL) &&
!match(param_request.name, FIREWALL_RULE_DATA_RTP_PATTERN, 0, NULL)) {
ret = RETURN_ERR;
WARNING("Unexpected event [%s][%d]", param_request.name, (int)param_request.type);
Loading