summaryrefslogtreecommitdiff
path: root/source4/ntvfs/cifs/vfs_cifs.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-09-13 10:15:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:43 -0500
commit59b0902d0864101b9861d8ab59402b3088db7ff7 (patch)
tree8f0a55a3f463c27b06036a772b690edc097dbd09 /source4/ntvfs/cifs/vfs_cifs.c
parentd5b119e0bf141c96b1c4aa1e718f1e7d80d773ec (diff)
downloadsamba-59b0902d0864101b9861d8ab59402b3088db7ff7.tar.gz
samba-59b0902d0864101b9861d8ab59402b3088db7ff7.tar.bz2
samba-59b0902d0864101b9861d8ab59402b3088db7ff7.zip
r2319: let event_merge_contexts() return a pointer to the final context
metze (This used to be commit 71aa5eeea73ea42e04ae224914b6815d72c1690a)
Diffstat (limited to 'source4/ntvfs/cifs/vfs_cifs.c')
-rw-r--r--source4/ntvfs/cifs/vfs_cifs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c
index 078075a11f..c9073b04cf 100644
--- a/source4/ntvfs/cifs/vfs_cifs.c
+++ b/source4/ntvfs/cifs/vfs_cifs.c
@@ -163,10 +163,8 @@ static NTSTATUS cvfs_connect(struct smbsrv_request *req, const char *sharename)
private->transport->event.fde->handler = cifs_socket_handler;
private->transport->event.fde->private = private;
- event_context_merge(tcon->smb_conn->connection->event.ctx,
- private->transport->event.ctx);
-
- private->transport->event.ctx = tcon->smb_conn->connection->event.ctx;
+ private->transport->event.ctx = event_context_merge(tcon->smb_conn->connection->event.ctx,
+ private->transport->event.ctx);
return NT_STATUS_OK;
}