From b2f1a29e4348a5bc34a87d72d526e23e421ed9d5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 28 Sep 2004 05:44:59 +0000 Subject: r2710: continue with the new style of providing a parent context whenever possible to a structure creation routine. This makes for much easier global cleanup. (This used to be commit e14ee428ec357fab76a960387a9820a673786e27) --- source4/ntvfs/cifs/vfs_cifs.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'source4/ntvfs/cifs/vfs_cifs.c') diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c index 3931792ee8..c0160e6852 100644 --- a/source4/ntvfs/cifs/vfs_cifs.c +++ b/source4/ntvfs/cifs/vfs_cifs.c @@ -122,13 +122,14 @@ static NTSTATUS cvfs_connect(struct smbsrv_request *req, const char *sharename, ntvfs_set_private(req->tcon, depth, private); - status = smbcli_tree_full_connection(&private->tree, - "vfs_cifs", - host, - 0, - remote_share, "?????", - user, domain, - pass); + status = smbcli_tree_full_connection(private, + &private->tree, + "vfs_cifs", + host, + 0, + remote_share, "?????", + user, domain, + pass); if (!NT_STATUS_IS_OK(status)) { return status; } -- cgit