From 606edf0f350000978a437ddfb7c23525a16d9854 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 6 May 2009 16:13:42 -0700 Subject: Make cli_setatr async. Jeremy. --- source3/torture/torture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index bc7ac12a76..9c0449a16e 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -2485,7 +2485,7 @@ static bool run_attrtest(int dummy) t2 = t-60*60*24; /* 1 day ago */ - if (!cli_setatr(cli, fname, 0, t2)) { + if (!NT_STATUS_IS_OK(cli_setatr(cli, fname, 0, t2))) { printf("setatr failed (%s)\n", cli_errstr(cli)); correct = True; } @@ -3726,7 +3726,7 @@ static bool run_opentest(int dummy) return False; } - if (!cli_setatr(cli1, fname, aRONLY, 0)) { + if (!NT_STATUS_IS_OK(cli_setatr(cli1, fname, aRONLY, 0))) { printf("cli_setatr failed (%s)\n", cli_errstr(cli1)); return False; } -- cgit