diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-19 16:31:59 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-19 18:51:37 +0200 |
commit | 64e9372ab997739d46669c0cc4a4c6edb11d5e64 (patch) | |
tree | 96a3bba6f227d39bf1c670d1d494786ba5abef7c /source/smbd/reply.c | |
parent | 8d364c4c3311b406847158fc37e9208d298cf8ba (diff) | |
download | samba-64e9372ab997739d46669c0cc4a4c6edb11d5e64.tar.gz samba-64e9372ab997739d46669c0cc4a4c6edb11d5e64.tar.xz samba-64e9372ab997739d46669c0cc4a4c6edb11d5e64.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.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 4427ba2ebd9..f36c5c4d312 100644 --- a/source/smbd/reply.c +++ b/source/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; } |