diff options
| author | Günther Deschner <gd@samba.org> | 2013-12-18 15:45:58 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2014-01-07 16:59:38 +0100 |
| commit | 9a4e007d9000f4f02474394659110dcb9b136d0e (patch) | |
| tree | 1072edfe97e91e73a7b63a6671d24d69f461eb89 /source3 | |
| parent | c39425f14bd58537aed1079335a62bbac8af7fb6 (diff) | |
libgpo: remove ads reference from dump calls and make them take const structs.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
| -rw-r--r-- | source3/utils/net_ads_gpo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/utils/net_ads_gpo.c b/source3/utils/net_ads_gpo.c index 0a698da0d0..b9b0a14229 100644 --- a/source3/utils/net_ads_gpo.c +++ b/source3/utils/net_ads_gpo.c @@ -127,7 +127,7 @@ static int net_ads_gpo_refresh(struct net_context *c, int argc, const char **arg for (gpo = gpo_list; gpo; gpo = gpo->next) { - dump_gpo(ads, mem_ctx, gpo, 0); + dump_gpo(gpo, 0); #if 0 char *server, *share, *nt_path, *unix_path; @@ -172,7 +172,7 @@ static int net_ads_gpo_refresh(struct net_context *c, int argc, const char **arg for (gpo = read_list; gpo; gpo = gpo->next) { - dump_gpo(ads, mem_ctx, gpo, 0); + dump_gpo(gpo, 0); #if 0 char *server, *share, *nt_path, *unix_path; @@ -278,7 +278,7 @@ static int net_ads_gpo_list_all(struct net_context *c, int argc, const char **ar goto out; } - dump_gpo(ads, mem_ctx, &gpo, 0); + dump_gpo(&gpo, 0); } out: @@ -350,7 +350,7 @@ static int net_ads_gpo_list(struct net_context *c, int argc, const char **argv) goto out; } - dump_gpo_list(ads, mem_ctx, gpo_list, 0); + dump_gpo_list(gpo_list, 0); out: ads_msgfree(ads, res); @@ -480,7 +480,7 @@ static int net_ads_gpo_link_get(struct net_context *c, int argc, const char **ar goto out; } - dump_gplink(ads, mem_ctx, &gp_link); + dump_gplink(&gp_link); out: talloc_destroy(mem_ctx); @@ -615,7 +615,7 @@ static int net_ads_gpo_get_gpo(struct net_context *c, int argc, const char **arg goto out; } - dump_gpo(ads, mem_ctx, &gpo, 1); + dump_gpo(&gpo, 1); out: talloc_destroy(mem_ctx); |
