summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-09-24 20:17:19 +0000
committerLuke Leighton <lkcl@samba.org>1998-09-24 20:17:19 +0000
commit0c5dcf52b0934ad68805e74be732905b392391c4 (patch)
tree768db07355a06f18e3c7a06bd5d1426aacb4165f /source3/rpc_parse
parentf650b65800c6d6c09cc2d59d7afe728fcb819a5f (diff)
downloadsamba-0c5dcf52b0934ad68805e74be732905b392391c4.tar.gz
samba-0c5dcf52b0934ad68805e74be732905b392391c4.tar.bz2
samba-0c5dcf52b0934ad68805e74be732905b392391c4.zip
took out #ifdef'd code in make_samr_r_query_usergroups that copied
DOM_GID static-size array, because it's malloc'd now. (This used to be commit 7776002218232c3ea0140d91c6033b7f9c6d3050)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index e35bdd19d1..615a716eea 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -1699,16 +1699,6 @@ void make_samr_r_query_usergroups(SAMR_R_QUERY_USERGROUPS *r_u,
r_u->num_entries2 = num_gids;
r_u->gid = gid;
-
-#if 0
- int i;
- for (i = 0; i < num_gids && i < LSA_MAX_GROUPS; i++)
- {
- r_u->gid[i].g_rid = gid[i].g_rid;
- r_u->gid[i].attr = gid[i].attr ;
- }
-#endif
-
}
else
{