From 5512dacbca699ab06df045ca7f1253c6a58251af Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 9 Jul 2007 15:48:17 +0000 Subject: r23770: Some minor cleanups in libgpo (including some valgrind errors, uninitialized vars, etc.) Guenther (This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1) --- source3/utils/net_ads_gpo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c index 83cc2fe8fc..0dfba5f4e8 100644 --- a/source3/utils/net_ads_gpo.c +++ b/source3/utils/net_ads_gpo.c @@ -50,7 +50,7 @@ static int net_ads_gpo_refresh(int argc, const char **argv) LDAPMessage *res = NULL; const char *filter; char *dn = NULL; - struct GROUP_POLICY_OBJECT *gpo_list; + struct GROUP_POLICY_OBJECT *gpo_list = NULL; uint32 uac = 0; uint32 flags = 0; struct GROUP_POLICY_OBJECT *gpo; @@ -127,8 +127,8 @@ static int net_ads_gpo_refresh(int argc, const char **argv) GPO_VERSION_USER(gpo->version), GPO_VERSION_MACHINE(gpo->version)); - result = ads_gpo_explode_filesyspath(ads, mem_ctx, gpo->file_sys_path, - &server, &share, &nt_path, &unix_path); + result = gpo_explode_filesyspath(mem_ctx, gpo->file_sys_path, + &server, &share, &nt_path, &unix_path); if (!NT_STATUS_IS_OK(result)) { printf("got: %s\n", nt_errstr(result)); } -- cgit