ctdb-client: Fix typo where CTDB_BROADCAST_ALL is repeated
authorMartin Schwenke <martin@meltin.net>
Thu, 14 Jun 2018 06:17:09 +0000 (16:17 +1000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 10 Jul 2018 08:44:12 +0000 (10:44 +0200)
Surely this is meant to be CTDB_BROADCAST_CONNECTED?

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 77db0b15b56f9921961bd753c210e6fdbaf97f6d)

ctdb/client/client_tunnel.c

index 17b65469ae9cc15921ea05cd6d633474d674f0c0..3ef78621712c22cb257605750b60d6f07ec88c09 100644 (file)
@@ -432,7 +432,7 @@ struct tevent_req *ctdb_tunnel_request_send(TALLOC_CTX *mem_ctx,
 
        if (destnode == CTDB_BROADCAST_ALL ||
            destnode == CTDB_BROADCAST_VNNMAP ||
-           destnode == CTDB_BROADCAST_ALL) {
+           destnode == CTDB_BROADCAST_CONNECTED) {
                state->wait_for_reply = false;
        }
        if (! state->wait_for_reply) {