From 9a6388179b9c4e13238ed91aebaca9b15e02408f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 10 Feb 2004 11:33:35 +0000 Subject: Convert libcli routines to return NTSTATUS instead of BOOL. Again, the only users are smbclient and smbtorture. (This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10) --- source4/torture/locktest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/torture/locktest.c') diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c index fcb229df08..cfc3d95cde 100644 --- a/source4/torture/locktest.c +++ b/source4/torture/locktest.c @@ -177,9 +177,9 @@ static BOOL test_one(struct cli_state *cli[NSERVERS][NCONNECTIONS], case OP_LOCK: /* set a lock */ for (server=0;servertree, + ret[server] = NT_STATUS_IS_OK(cli_lock64(cli[server][conn]->tree, fnum[server][conn][f], - start, len, LOCK_TIMEOUT, op); + start, len, LOCK_TIMEOUT, op)); status[server] = cli_nt_error(cli[server][conn]->tree); if (!exact_error_codes && NT_STATUS_EQUAL(status[server], @@ -200,9 +200,9 @@ static BOOL test_one(struct cli_state *cli[NSERVERS][NCONNECTIONS], case OP_UNLOCK: /* unset a lock */ for (server=0;servertree, + ret[server] = NT_STATUS_IS_OK(cli_unlock64(cli[server][conn]->tree, fnum[server][conn][f], - start, len); + start, len)); status[server] = cli_nt_error(cli[server][conn]->tree); } if (showall || -- cgit