From 91f650fb5b5da01ead960c1709f7545cf6a3feb4 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 25 Apr 2003 03:53:20 +0000 Subject: Missed another condition on a while loop. (This used to be commit 8ff52aec87a2770c5d7de50786307d246b4be6af) --- source3/utils/net_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index cf57004a81..e3e79b0e6c 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1016,7 +1016,7 @@ rpc_group_list_internals(const DOM_SID *domain_sid, struct cli_state *cli, else printf("%s\n", groups[i].acct_name); } - } while (!NT_STATUS_IS_OK(result)); + } while (NT_STATUS_V(result) == NT_STATUS_V(STATUS_MORE_ENTRIES)); done: return result; -- cgit