summaryrefslogtreecommitdiff
path: root/source3/torture/denytest.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-05-04 08:51:55 -0700
committerTim Prouty <tprouty@samba.org>2009-05-04 08:52:26 -0700
commit1b2c65ff8d3c0033a0207801319dda662dbad4ba (patch)
treeba0b4981eb4004bb32ca34a1db742150685fc1de /source3/torture/denytest.c
parent032bb807c70a442f539c5321c2a903461f83ac54 (diff)
downloadsamba-1b2c65ff8d3c0033a0207801319dda662dbad4ba.tar.gz
s3 torture: Fix comparison is always true warning
Diffstat (limited to 'source3/torture/denytest.c')
-rw-r--r--source3/torture/denytest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/denytest.c b/source3/torture/denytest.c
index 1360fc2ef40..e5cd5a2ec29 100644
--- a/source3/torture/denytest.c
+++ b/source3/torture/denytest.c
@@ -1555,8 +1555,8 @@ bool torture_denytest2(int dummy)
resultstr(denytable2[i].result));
}
- if (fnum1 != -1) cli_close(cli1, fnum1);
- if (fnum2 != -1) cli_close(cli2, fnum2);
+ cli_close(cli1, fnum1);
+ cli_close(cli2, fnum2);
}
for (i=0;i<2;i++) {