1
0
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:
Andrew Tridgell
2005-06-13 09:11:21 +00:00
committed by Gerald (Jerry) Carter
parent 4b0e5bd753
commit 68c15667f5

View File

@ -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;