1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r24025: packet_send() expects DATA_BLOB elements as vaargs

and not TDB_DATA

metze
(This used to be commit 3e4f552dbd)
This commit is contained in:
Stefan Metzmacher 2007-07-24 09:47:26 +00:00 committed by Gerald (Jerry) Carter
parent bed567bffc
commit 12324f017c

View File

@ -684,7 +684,7 @@ static NTSTATUS ctdbd_control(struct ctdbd_connection *conn,
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)));
@ -852,7 +852,7 @@ NTSTATUS ctdbd_migrate(struct ctdbd_connection *conn, uint32 db_id,
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)));
@ -911,7 +911,7 @@ NTSTATUS ctdbd_fetch(struct ctdbd_connection *conn, uint32 db_id,
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)));