summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-19 16:31:59 +0200
committerVolker Lendecke <vl@samba.org>2008-06-19 18:51:37 +0200
commite40b6e296a91f87e0a238323fe1dbf76149487e0 (patch)
tree6d7254bab73b1628e4edc507aa3c56ff09760696 /source3/smbd/reply.c
parent49ca8efa9199ba21e3a41cbe4abbea1ca4974d0e (diff)
downloadsamba-e40b6e296a91f87e0a238323fe1dbf76149487e0.tar.gz
samba-e40b6e296a91f87e0a238323fe1dbf76149487e0.tar.bz2
samba-e40b6e296a91f87e0a238323fe1dbf76149487e0.zip
Remove the "current_user" arg from fsp_belongs_conn
fsp_belongs_conn only used the vuid struct member anyway, and this is available in the smb_request structure as well. (This used to be commit 64e9372ab997739d46669c0cc4a4c6edb11d5e64)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 4427ba2ebd..f36c5c4d31 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -368,10 +368,10 @@ bool check_fsp(connection_struct *conn, struct smb_request *req,
****************************************************************************/
bool fsp_belongs_conn(connection_struct *conn, struct smb_request *req,
- files_struct *fsp, struct current_user *user)
+ files_struct *fsp)
{
if ((fsp) && (conn) && ((conn)==(fsp)->conn)
- && (current_user.vuid==(fsp)->vuid)) {
+ && (req->vuid == (fsp)->vuid)) {
return True;
}