diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 14:02:16 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-29 16:38:15 +1000 |
commit | bc31e9c7d2a030dc0f63322f5c42d2fe22bbf7ff (patch) | |
tree | 44524ce43495c930e76265bb2f77cf41f82fe492 /source4 | |
parent | 96136ad6567fc1793bf0669c4fd65f680d521dae (diff) | |
download | samba-bc31e9c7d2a030dc0f63322f5c42d2fe22bbf7ff.tar.gz samba-bc31e9c7d2a030dc0f63322f5c42d2fe22bbf7ff.tar.bz2 samba-bc31e9c7d2a030dc0f63322f5c42d2fe22bbf7ff.zip |
s4-param Rename lp_destructor() -> lpcfg_destructor() for consistency
Diffstat (limited to 'source4')
-rw-r--r-- | source4/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 9d822e0fbc..c8c0b193bc 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2292,7 +2292,7 @@ void lpcfg_killunused(struct loadparm_context *lp_ctx, } -static int lp_destructor(struct loadparm_context *lp_ctx) +static int lpcfg_destructor(struct loadparm_context *lp_ctx) { struct parmlist_entry *data; @@ -2333,7 +2333,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) if (lp_ctx == NULL) return NULL; - talloc_set_destructor(lp_ctx, lp_destructor); + talloc_set_destructor(lp_ctx, lpcfg_destructor); lp_ctx->bInGlobalSection = true; lp_ctx->globals = talloc_zero(lp_ctx, struct loadparm_global); lp_ctx->sDefault = talloc_zero(lp_ctx, struct loadparm_service); |