ctdb-daemon: Clean up call to bind socket
authorMartin Schwenke <martin@meltin.net>
Sat, 24 Oct 2020 10:54:21 +0000 (21:54 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 2 Nov 2020 08:58:31 +0000 (08:58 +0000)
commit78c3b5b6a83d934c99ac25480fbc01f9aeb198e3
tree80920b6b957d5101490290a926541bd2f35b885d
parent9404f8631ecc028c4e98879fbc67ccd2be09249f
ctdb-daemon: Clean up call to bind socket

Variable res is only used once and ret is re-used many times.  Drop
res, use ret, which doesn't need to be initialised.  Modernise debug
macro.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/server/ctdb_daemon.c