]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
send the message from daemon context
authorAndrew Tridgell <tridge@samba.org>
Fri, 25 May 2007 14:21:07 +0000 (00:21 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 25 May 2007 14:21:07 +0000 (00:21 +1000)
(This used to be ctdb commit 3bd7d1ebd5fc47f31caa654b5935a3cd05fb6882)

ctdb/takeover/ctdb_takeover.c

index 23cc8c30f4ca2330eb6db68ffa876f90a563b831..e288cd9c61790c1da1062801cf2277860f833353 100644 (file)
@@ -129,8 +129,7 @@ int32_t ctdb_control_release_ip(struct ctdb_context *ctdb, TDB_DATA indata)
        data.dptr = (uint8_t *)ip;
        data.dsize = strlen(ip)+1;
 
-       ctdb_send_message(ctdb, ctdb->vnn, CTDB_SRVID_RELEASE_IP, data);
-
+       ctdb_daemon_send_message(ctdb, ctdb->vnn, CTDB_SRVID_RELEASE_IP, data);
 
        return 0;
 }