diff options
author | Ralph Boehme <slow@samba.org> | 2020-01-02 17:07:23 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-01-13 19:41:36 +0000 |
commit | 893aba4d65b6f2bdcd49ba3618f882fad0d5df49 (patch) | |
tree | 8b36ba856ca1a26a1e9629f9421ec7a39f6aaba7 /source3/smbd | |
parent | 9ef30c75b065876fee05103a4ad1b0d70d2d86c6 (diff) | |
download | samba-893aba4d65b6f2bdcd49ba3618f882fad0d5df49.tar.gz |
smbd: remove unused vuser arg from make_connection_smb1()
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/service.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index c8eef0fc53c..73a5ddbe479 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -919,7 +919,7 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn, static connection_struct *make_connection_smb1(struct smb_request *req, NTTIME now, - int snum, struct user_struct *vuser, + int snum, const char *pdev, NTSTATUS *pstatus) { @@ -1081,7 +1081,6 @@ connection_struct *make_connection(struct smb_request *req, "created at session setup time\n")); return make_connection_smb1(req, now, session->homes_snum, - vuser, dev, status); } else if ((session->homes_snum != -1) && strequal(service_in, @@ -1090,7 +1089,6 @@ connection_struct *make_connection(struct smb_request *req, "created at session setup time\n", service_in)); return make_connection_smb1(req, now, session->homes_snum, - vuser, dev, status); } @@ -1140,7 +1138,7 @@ connection_struct *make_connection(struct smb_request *req, DEBUG(5, ("making a connection to 'normal' service %s\n", service)); - return make_connection_smb1(req, now, snum, vuser, + return make_connection_smb1(req, now, snum, dev, status); } |