diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-24 00:42:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:06 -0500 |
commit | 9c89a30113df8b5a2ebf971f5e1fbb32ba1dc40c (patch) | |
tree | eef79d35d2ed578dba5e3f1e3a23a1cbd41b436d /source4/ntvfs/nbench | |
parent | 5401105ddfce91fd2fe479b442ea071b74c48467 (diff) | |
download | samba-9c89a30113df8b5a2ebf971f5e1fbb32ba1dc40c.tar.gz samba-9c89a30113df8b5a2ebf971f5e1fbb32ba1dc40c.tar.bz2 samba-9c89a30113df8b5a2ebf971f5e1fbb32ba1dc40c.zip |
r2572: fixed two places where status is not initialised in the nbench backend
(This used to be commit 4103392a597349890e0e7ea1c41d5b0ab3816853)
Diffstat (limited to 'source4/ntvfs/nbench')
-rw-r--r-- | source4/ntvfs/nbench/vfs_nbench.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c index b88c65d5db..eebf6f1dde 100644 --- a/source4/ntvfs/nbench/vfs_nbench.c +++ b/source4/ntvfs/nbench/vfs_nbench.c @@ -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; } |