Removed SERVER parameter from dcb_call_foreach

Removed SERVER parameter from dcb_call_foreach
This commit is contained in:
MassimilianoPinto 2014-06-27 13:51:40 +02:00
parent 475e408551
commit 4f12e123c5
3 changed files with 3 additions and 2 deletions

View File

@ -1878,7 +1878,6 @@ static DCB* dcb_get_next (
}
void dcb_call_foreach (
SERVER* srv,
DCB_REASON reason)
{
switch (reason) {

View File

@ -298,6 +298,8 @@ bool dcb_set_state(
dcb_state_t new_state,
dcb_state_t* old_state);
void dcb_call_foreach (
DCB_REASON reason);
/* DCB flags values */
#define DCBF_CLONE 0x0001 /* DCB is a clone */

View File

@ -695,7 +695,7 @@ MONITOR_SERVERS *ptr;
if (mon_status_changed(ptr))
{
dcb_call_foreach(ptr->server, DCB_REASON_NOT_RESPONDING);
dcb_call_foreach(DCB_REASON_NOT_RESPONDING);
}
if (mon_status_changed(ptr) ||