diff options
author | Martin Schwenke <martin@meltin.net> | 2019-08-09 15:06:34 +1000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-08-28 09:12:16 +0000 |
commit | 4cf26ff2ec350db6b3ad5fa08dea602b3b842baf (patch) | |
tree | ba00ae961e7602f1427e7bb18f6a0aa17a6bab2d /ctdb/tcp/ctdb_tcp.h | |
parent | 0b4a99c22f5e72d2bc6e2770b070e964866db148 (diff) | |
download | samba-4cf26ff2ec350db6b3ad5fa08dea602b3b842baf.tar.gz |
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)
Diffstat (limited to 'ctdb/tcp/ctdb_tcp.h')
-rw-r--r-- | ctdb/tcp/ctdb_tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tcp/ctdb_tcp.h b/ctdb/tcp/ctdb_tcp.h index 0a998c94da4..acd343fb8f3 100644 --- a/ctdb/tcp/ctdb_tcp.h +++ b/ctdb/tcp/ctdb_tcp.h @@ -39,7 +39,7 @@ struct ctdb_incoming { state associated with one tcp node */ struct ctdb_tcp_node { - int fd; + int out_fd; struct ctdb_queue *out_queue; struct tevent_fd *connect_fde; struct tevent_timer *connect_te; |