diff options
-rw-r--r-- | source4/lib/messaging/irpc.h | 2 | ||||
-rw-r--r-- | source4/lib/messaging/messaging.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/messaging/irpc.h b/source4/lib/messaging/irpc.h index e7c0b874c1..6607eb42e2 100644 --- a/source4/lib/messaging/irpc.h +++ b/source4/lib/messaging/irpc.h @@ -88,7 +88,7 @@ typedef void (*msg_callback_t)(struct messaging_context *msg, void *private_data struct server_id server_id, DATA_BLOB *data); NTSTATUS messaging_send(struct messaging_context *msg, struct server_id server, - uint32_t msg_type, DATA_BLOB *data); + uint32_t msg_type, const DATA_BLOB *data); NTSTATUS messaging_register(struct messaging_context *msg, void *private_data, uint32_t msg_type, msg_callback_t fn); diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 19d6971088..290210efaa 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -448,7 +448,7 @@ void messaging_deregister(struct messaging_context *msg, uint32_t msg_type, void Send a message to a particular server */ NTSTATUS messaging_send(struct messaging_context *msg, struct server_id server, - uint32_t msg_type, DATA_BLOB *data) + uint32_t msg_type, const DATA_BLOB *data) { struct messaging_rec *rec; NTSTATUS status; |