mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r2572: fixed two places where status is not initialised in the nbench backend
(This used to be commit 4103392a59
)
This commit is contained in:
parent
5401105ddf
commit
9c89a30113
@ -110,7 +110,7 @@ static NTSTATUS nbench_connect(struct smbsrv_request *req, const char *sharename
|
||||
|
||||
ntvfs_set_private(req->tcon, depth, private);
|
||||
|
||||
PASS_THRU(req->tcon, connect, (req, sharename, depth+1));
|
||||
status = PASS_THRU(req->tcon, connect, (req, sharename, depth+1));
|
||||
|
||||
return status;
|
||||
}
|
||||
@ -125,7 +125,7 @@ static NTSTATUS nbench_disconnect(struct smbsrv_tcon *tcon, int depth)
|
||||
|
||||
close(private->log_fd);
|
||||
|
||||
PASS_THRU(tcon, disconnect, (tcon, depth+1));
|
||||
status = PASS_THRU(tcon, disconnect, (tcon, depth+1));
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user