mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +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;
|
NTSTATUS status;
|
||||||
struct samr_QueryDisplayInfo r;
|
struct samr_QueryDisplayInfo r;
|
||||||
BOOL ret = True;
|
BOOL ret = True;
|
||||||
uint16_t levels[] = {1, 2, 3, 4, 5};
|
|
||||||
int i;
|
|
||||||
|
|
||||||
printf("Testing QueryDisplayInfo continuation\n");
|
printf("Testing QueryDisplayInfo continuation\n");
|
||||||
|
|
||||||
@ -2516,8 +2514,8 @@ static BOOL test_QueryDisplayInfo_continue(struct dcerpc_pipe *p, TALLOC_CTX *me
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
r.in.start_idx++;
|
r.in.start_idx++;
|
||||||
} while (NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES) ||
|
} while ((NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES) ||
|
||||||
NT_STATUS_IS_OK(status) &&
|
NT_STATUS_IS_OK(status)) &&
|
||||||
r.out.returned_size != 0);
|
r.out.returned_size != 0);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user