From f7dfa55a2e191ae780d399026bce48f68cda4bf0 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 3 Feb 1999 00:49:24 +0000 Subject: cache unix groups so that two-level getgrent calls don't occur. --- source/rpc_parse/parse_samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/rpc_parse/parse_samr.c') diff --git a/source/rpc_parse/parse_samr.c b/source/rpc_parse/parse_samr.c index 1fcb57c4359..cadeffdfd0e 100644 --- a/source/rpc_parse/parse_samr.c +++ b/source/rpc_parse/parse_samr.c @@ -1232,7 +1232,7 @@ void make_samr_r_query_dispinfo(SAMR_R_QUERY_DISPINFO *r_u, { if (r_u == NULL) return; - DEBUG(5,("make_samr_r_query_dispinfo\n")); + DEBUG(5,("make_samr_r_query_dispinfo: level %d\n", switch_level)); if (status == 0x0) { @@ -1910,7 +1910,7 @@ void make_samr_r_query_groupmem(SAMR_R_QUERY_GROUPMEM *r_u, if (status == 0x0) { - r_u->ptr = (num_entries != 0) ? 1 : 0; + r_u->ptr = 1; r_u->num_entries = num_entries; r_u->ptr_attrs = attr != NULL ? 1 : 0; -- cgit