summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/pipes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index 17d2678e35..d321c7a73d 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -69,7 +69,9 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name,
status = np_open(fsp, name,
conn->sconn->local_address,
conn->sconn->remote_address,
- conn->server_info, &fsp->fake_file_handle);
+ conn->server_info,
+ conn->sconn->msg_ctx,
+ &fsp->fake_file_handle);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(10, ("np_open(%s) returned %s\n", name,
nt_errstr(status)));