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/raw/chkpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/raw/chkpath.c') diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c index 6e128a01a4..72ddf3b5a2 100644 --- a/source4/torture/raw/chkpath.c +++ b/source4/torture/raw/chkpath.c @@ -124,7 +124,7 @@ BOOL torture_raw_chkpath(int dummy) printf("Failed to clean " BASEDIR "\n"); return False; } - if (!cli_mkdir(cli->tree, BASEDIR)) { + if (NT_STATUS_IS_ERR(cli_mkdir(cli->tree, BASEDIR))) { printf("Failed to create " BASEDIR " - %s\n", cli_errstr(cli->tree)); return False; } -- cgit