ctdb-daemon: Use path functions for socket and PID file
authorMartin Schwenke <martin@meltin.net>
Thu, 10 May 2018 07:32:33 +0000 (17:32 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 6 Nov 2018 06:16:14 +0000 (07:16 +0100)
commit5f478b7c5ff66da27cfc12e5272f72c8fbb95c62
tree46a2c2379a38bbcc6de0f0b6f9f147c339eb6ad0
parentcd021596da68baf4ef6be7c2a18c64077c5c8ade
ctdb-daemon: Use path functions for socket and PID file

Drop the use of ctdb_set_sockname() because it complicates the memory
allocation and this is the only place it is used.  Just assign to the
relevant pointer.

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