mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
break loop on empty response
This commit is contained in:
@@ -3261,8 +3261,8 @@ static void accounts_jsonrpc_thread_func(void* arg)
|
|||||||
}
|
}
|
||||||
response = dc_get_next_json_response(dcn_accounts->jsonrpc_instance);
|
response = dc_get_next_json_response(dcn_accounts->jsonrpc_instance);
|
||||||
if (response == NULL) {
|
if (response == NULL) {
|
||||||
//TRACE("received NULL event, skipping");
|
// done or broken
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dcn_accounts->threadsafe_jsonrpc_handler) {
|
if (!dcn_accounts->threadsafe_jsonrpc_handler) {
|
||||||
|
|||||||
Reference in New Issue
Block a user