dcb_call_foreach now only calls the callbacks for those DCBs that are connected to the server.

This commit is contained in:
Markus Makela
2015-02-18 05:36:39 +02:00
parent ce063caf56
commit da029140cd
3 changed files with 6 additions and 5 deletions

View File

@ -690,7 +690,7 @@ int log_no_master = 1;
if (!(SERVER_IS_RUNNING(ptr->server)) ||
!(SERVER_IS_IN_CLUSTER(ptr->server)))
{
dcb_call_foreach(DCB_REASON_NOT_RESPONDING);
dcb_call_foreach(ptr->server,DCB_REASON_NOT_RESPONDING);
}
}