From: Andrew Tridgell Date: Wed, 6 Jun 2007 01:12:45 +0000 (+1000) Subject: send the right sort of message on monitoring failure X-Git-Tag: tevent-0.9.20~348^2~2556 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eaf701fbdaf5815ebaa78595e5cab5a028767fc7;p=thirdparty%2Fsamba.git send the right sort of message on monitoring failure (This used to be ctdb commit 9db537d9b11d48a36346db721ed8936ff5ecacb2) --- diff --git a/ctdb/common/ctdb_monitor.c b/ctdb/common/ctdb_monitor.c index ffbb4821d3d..2723b09d24a 100644 --- a/ctdb/common/ctdb_monitor.c +++ b/ctdb/common/ctdb_monitor.c @@ -122,7 +122,7 @@ static void ctdb_health_callback(struct ctdb_context *ctdb, int status, void *p) data.dsize = sizeof(c); /* tell the recmaster that something has changed */ - ctdb_send_message(ctdb, ctdb->recovery_master, CTDB_SRVID_NODE_FLAGS_CHANGED, data); + ctdb_daemon_send_message(ctdb, ctdb->recovery_master, CTDB_SRVID_NODE_FLAGS_CHANGED, data); }