ctdb-tcp: Rename fd -> out_fd
commitbf08a2d958bd2eb389882cc8fbe39790114c87a8
authorMartin Schwenke <martin@meltin.net>
Fri, 9 Aug 2019 05:06:34 +0000 (9 15:06 +1000)
committerKarolin Seeger <kseeger@samba.org>
Wed, 28 Aug 2019 07:35:26 +0000 (28 07:35 +0000)
tree7c7a2acfe529527e846d59d7f022b46b65880d61
parent611610cff8d9505621fb4b462ebac8222d45dc46
ctdb-tcp: Rename fd -> out_fd

in_fd is coming soon.

Fix coding style violations in the affected and adjacent lines.
Modernise some debug macros and make them more consistent (e.g. drop
logging of errno when strerror(errno) is already logged.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14084

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit c06620169fc178ea6db2631f03edf008285d8cf2)
ctdb/tcp/ctdb_tcp.h
ctdb/tcp/tcp_connect.c
ctdb/tcp/tcp_init.c