... instead of talloc_zero(). This sets the db_id correctly.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Jan 20 07:28:42 CET 2016 on sn-devel-144
h->sid.unique_id = h->sid.task_id;
h->sid.unique_id = (h->sid.unique_id << 32) | h->sid.pid;
- h->recbuf = talloc_zero(h, struct ctdb_rec_buffer);
+ h->recbuf = ctdb_rec_buffer_init(h, db->db_id);
if (tevent_req_nomem(h->recbuf, req)) {
return tevent_req_post(req, ev);
}