status = packet_send(
conn->pkt, 2,
data_blob_const(&req, offsetof(struct ctdb_req_control, data)),
- data);
+ data_blob_const(data.dptr, data.dsize));
if (!NT_STATUS_IS_OK(status)) {
DEBUG(3, ("packet_send failed: %s\n", nt_errstr(status)));
status = packet_send(
conn->pkt, 2,
data_blob_const(&req, offsetof(struct ctdb_req_call, data)),
- key);
+ data_blob_const(key.dptr, key.dsize));
if (!NT_STATUS_IS_OK(status)) {
DEBUG(3, ("packet_send failed: %s\n", nt_errstr(status)));
status = packet_send(
conn->pkt, 2,
data_blob_const(&req, offsetof(struct ctdb_req_call, data)),
- key);
+ data_blob_const(key.dptr, key.dsize));
if (!NT_STATUS_IS_OK(status)) {
DEBUG(3, ("packet_send failed: %s\n", nt_errstr(status)));