From 42a6bb722884de1ba2d876fcb62343aad7594bb7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 10 Sep 2013 13:43:15 +0200 Subject: idmap_autorid: rename TALLOC_CTX argument of idmap_autorid_loadconfig() to mem_ctx Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- source3/winbindd/idmap_autorid_tdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/idmap_autorid_tdb.c b/source3/winbindd/idmap_autorid_tdb.c index 1673f19674..64c108520c 100644 --- a/source3/winbindd/idmap_autorid_tdb.c +++ b/source3/winbindd/idmap_autorid_tdb.c @@ -262,19 +262,19 @@ NTSTATUS idmap_autorid_getconfigstr(struct db_context *db, TALLOC_CTX *mem_ctx, } struct autorid_global_config *idmap_autorid_loadconfig(struct db_context *db, - TALLOC_CTX *ctx) + TALLOC_CTX *mem_ctx) { struct autorid_global_config *cfg; unsigned long minvalue, rangesize, maxranges; NTSTATUS status; char *configstr = NULL; - status = idmap_autorid_getconfigstr(db, ctx, &configstr); + status = idmap_autorid_getconfigstr(db, mem_ctx, &configstr); if (!NT_STATUS_IS_OK(status)) { return NULL; } - cfg = talloc_zero(ctx, struct autorid_global_config); + cfg = talloc_zero(mem_ctx, struct autorid_global_config); if (!cfg) { return NULL; } -- cgit