summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-10 13:43:15 +0200
committerVolker Lendecke <vl@samba.org>2013-10-01 12:02:32 +0000
commit42a6bb722884de1ba2d876fcb62343aad7594bb7 (patch)
tree313b0abadc45557afd8eb3be1d7f4f69e0800972
parent56c80d1c829978ac394a022ff2e069c2ccfee5b4 (diff)
downloadsamba-42a6bb722884de1ba2d876fcb62343aad7594bb7.tar.gz
samba-42a6bb722884de1ba2d876fcb62343aad7594bb7.tar.bz2
samba-42a6bb722884de1ba2d876fcb62343aad7594bb7.zip
idmap_autorid: rename TALLOC_CTX argument of idmap_autorid_loadconfig() to mem_ctx
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
-rw-r--r--source3/winbindd/idmap_autorid_tdb.c6
1 files changed, 3 insertions, 3 deletions
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;
}