summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index a878f36248..44060d5d77 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -364,7 +364,7 @@ static void send_break_message_smb1(files_struct *fsp, int level)
}
show_msg(break_msg);
- if (!srv_send_smb(smbd_server_fd(),
+ if (!srv_send_smb(fsp->conn->sconn->sock,
break_msg, false, 0,
IS_CONN_ENCRYPTED(fsp->conn),
NULL)) {