r22846: Chunk one to replace message_send_pid with messaging_send: Deep inside
[sfrench/samba-autobuild/.git] / source / lib / messages.c
index 10bf5dfcf7f2480183ef50dcc3a783af09dbd138..7805f3c6d9ac77f37359545491c91a95a0636295 100644 (file)
@@ -834,7 +834,7 @@ void messaging_deregister(struct messaging_context *ctx, uint32_t msg_type,
 */
 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)
 {
        return message_send_pid_internal(server, msg_type, data->data,
                                         data->length, True, 0);