Author: jerry Date: 2006-01-12 17:37:25 +0000 (Thu, 12 Jan 2006) New Revision: 12870
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12870 Log: fixing net rpc registry enumerate from overwritnig the open subkey handle Modified: branches/SAMBA_3_0/source/utils/net_rpc_registry.c trunk/source/utils/net_rpc_registry.c Changeset: Modified: branches/SAMBA_3_0/source/utils/net_rpc_registry.c =================================================================== --- branches/SAMBA_3_0/source/utils/net_rpc_registry.c 2006-01-12 11:36:16 UTC (rev 12869) +++ branches/SAMBA_3_0/source/utils/net_rpc_registry.c 2006-01-12 17:37:25 UTC (rev 12870) @@ -124,7 +124,6 @@ return werror_to_ntstatus(result); } } - memcpy( &pol_key, &pol_hive, sizeof(POLICY_HND) ); /* get the subkeys */ Modified: trunk/source/utils/net_rpc_registry.c =================================================================== --- trunk/source/utils/net_rpc_registry.c 2006-01-12 11:36:16 UTC (rev 12869) +++ trunk/source/utils/net_rpc_registry.c 2006-01-12 17:37:25 UTC (rev 12870) @@ -124,7 +124,6 @@ return werror_to_ntstatus(result); } } - memcpy( &pol_key, &pol_hive, sizeof(POLICY_HND) ); /* get the subkeys */