diff options
author | Michael Adam <obnox@samba.org> | 2008-04-04 13:26:03 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-04 17:05:00 +0200 |
commit | 2ce236cbaf605a6be05c6d0ffee2ba588f128a7e (patch) | |
tree | bf3775d85c8514d0595743ea9ef2a32325f4b347 | |
parent | 06466de5e9636dc2934c8f52f20d71ed0f4e6da0 (diff) | |
download | samba-2ce236cbaf605a6be05c6d0ffee2ba588f128a7e.tar.gz samba-2ce236cbaf605a6be05c6d0ffee2ba588f128a7e.tar.bz2 samba-2ce236cbaf605a6be05c6d0ffee2ba588f128a7e.zip |
net_rpc_registy: use function print_registry_key
Michael
(This used to be commit cc1da3ee2c369181efa6d150c966571d0aff0728)
-rw-r--r-- | source3/utils/net_rpc_registry.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c index 2d335942a2..7643a7920b 100644 --- a/source3/utils/net_rpc_registry.c +++ b/source3/utils/net_rpc_registry.c @@ -19,6 +19,7 @@ #include "includes.h" #include "utils/net.h" +#include "utils/net_registry_util.h" #include "regfio.h" #include "reg_objects.h" @@ -637,11 +638,7 @@ static NTSTATUS rpc_registry_enumerate_internal(const DOM_SID *domain_sid, } for (i=0; i<num_subkeys; i++) { - d_printf("Keyname = %s\n", names[i]); - d_printf("Modtime = %s\n", modtimes[i] - ? http_timestring(nt_time_to_unix(*modtimes[i])) - : "None"); - d_printf("\n" ); + print_registry_key(names[i], modtimes[i]); } status = registry_enumvalues(mem_ctx, pipe_hnd, &pol_key, &num_values, |