From fc5c075cff223d36f25b79650c3f739e8d79a801 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 2 May 2005 15:58:03 +0000 Subject: r6578: brown paper bag time with the new messaging code .... (This used to be commit d465ff67bd10340ecd46480039f483daa82c7ebe) --- source4/lib/messaging/messaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index c95028bea5..2130958b36 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -156,7 +156,7 @@ static void messaging_recv_handler(struct event_context *ev, struct fd_event *fd return; } - rec->data = data_blob_talloc(rec, data, rec->header.length); + rec->data = data_blob_talloc(rec, data+sizeof(rec->header), rec->header.length); if (rec->data.data == NULL) { talloc_free(rec); return; -- cgit