mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
r7528: cleaned up the QueryDisplayInfo_continue test
(This used to be commit a977dcef03
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4b0e5bd753
commit
68c15667f5
@ -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;
|
||||
|
Reference in New Issue
Block a user