ctdb-client: Add missing initialization for h->ev in transaction_start
authorAmitay Isaacs <amitay@gmail.com>
Fri, 6 Nov 2015 04:20:15 +0000 (15:20 +1100)
committerMartin Schwenke <martins@samba.org>
Wed, 20 Jan 2016 03:19:11 +0000 (04:19 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/client/client_db.c

index f9368b265f4e84a5d0a6716e6633b794a6098c17..1086b0e14e64b0c08da10662d25f81e32f3249c1 100644 (file)
@@ -1610,6 +1610,7 @@ struct tevent_req *ctdb_transaction_start_send(TALLOC_CTX *mem_ctx,
                return tevent_req_post(req, ev);
        }
 
+       h->ev = ev;
        h->client = client;
        h->db = db;
        h->readonly = readonly;