git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0e5bd
)
r7528: cleaned up the QueryDisplayInfo_continue test
author
Andrew Tridgell
<tridge@samba.org>
Mon, 13 Jun 2005 09:11:21 +0000
(09:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:06 +0000
(13:18 -0500)
(This used to be commit
a977dcef030605d0be1b7ce2a6500b202e35eaac
)
source4/torture/rpc/samr.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index 83c5db4a42e961bff0f5d18ee920d365b936742e..befbe0f9f764e6bba3ce464ce3edc3f232242f84 100644
(file)
--- a/
source4/torture/rpc/samr.c
+++ b/
source4/torture/rpc/samr.c
@@
-2486,8
+2486,6
@@
static BOOL test_QueryDisplayInfo_continue(struct dcerpc_pipe *p, TALLOC_CTX *me
NTSTATUS status;
struct samr_QueryDisplayInfo r;
BOOL ret = True;
- uint16_t levels[] = {1, 2, 3, 4, 5};
- int i;
printf("Testing QueryDisplayInfo continuation\n");
@@
-2516,8
+2514,8
@@
static BOOL test_QueryDisplayInfo_continue(struct dcerpc_pipe *p, TALLOC_CTX *me
break;
}
r.in.start_idx++;
- } while (NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES) ||
-
NT_STATUS_IS_OK(status
) &&
+ } while (
(
NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES) ||
+
NT_STATUS_IS_OK(status)
) &&
r.out.returned_size != 0);
return ret;