ctdb-daemon: Set ctdb->notification_script directly
authorMartin Schwenke <martin@meltin.net>
Thu, 29 Mar 2018 03:50:17 +0000 (14:50 +1100)
committerMartin Schwenke <martins@samba.org>
Tue, 1 May 2018 11:31:18 +0000 (13:31 +0200)
commit17ad7d9114bfc749350daa3988fe3223569ef945
tree4943bbc890f83ef305c759ef92d9219335ece6fa
parentf5ee088420e592cdc9de30d1b38188ff27796ae4
ctdb-daemon: Set ctdb->notification_script directly

This doesn't need a wrapper function.  It gets in the way if building
a value involves allocating memory (e.g. talloc_asprintf()) and then
ctdb_set_notification_script() duplicates that memory.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdbd.c