summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/blocking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index 3ec288f689..1b7431bed5 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -902,7 +902,7 @@ struct blocking_lock_record *blocking_lock_cancel_smb1(files_struct *fsp,
memcpy(msg, &blr, sizeof(blr));
memcpy(&msg[sizeof(blr)], &err, sizeof(NTSTATUS));
- messaging_send_buf(sconn->msg_ctx, procid_self(),
+ messaging_send_buf(sconn->msg_ctx, sconn_server_id(sconn),
MSG_SMB_BLOCKING_LOCK_CANCEL,
(uint8 *)&msg, sizeof(msg));