summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-24 09:47:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:57 -0500
commit12324f017c06e95013b4a6130df9cfa5e270ac0d (patch)
tree30f4b1285b1ae60993f1c43db33ecb6f35ba35a8 /source3/lib
parentbed567bffc6f2cb672a08509855b135b2e794f14 (diff)
downloadsamba-12324f017c06e95013b4a6130df9cfa5e270ac0d.tar.gz
samba-12324f017c06e95013b4a6130df9cfa5e270ac0d.tar.bz2
samba-12324f017c06e95013b4a6130df9cfa5e270ac0d.zip
r24025: packet_send() expects DATA_BLOB elements as vaargs
and not TDB_DATA metze (This used to be commit 3e4f552dbdd065fd7934d646e34199b52f486d5d)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index d9d3421fa7..b926c533b5 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -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)));