From a9e31b33b55a873c2f01db5e348560176adf863d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 22 Nov 2006 02:05:19 +0000 Subject: r19832: better prototypes for the linearization functions: - ldb_dn_get_linearized returns a const string - ldb_dn_alloc_linearized allocs astring with the linearized dn (This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd) --- source4/lib/gendb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/gendb.c') diff --git a/source4/lib/gendb.c b/source4/lib/gendb.c index 035ef01a8f..aa2130bb07 100644 --- a/source4/lib/gendb.c +++ b/source4/lib/gendb.c @@ -58,7 +58,7 @@ int gendb_search_v(struct ldb_context *ldb, talloc_steal(mem_ctx, res->msgs); DEBUG(6,("gendb_search_v: %s %s -> %d\n", - basedn?ldb_dn_linearize(mem_ctx,basedn):"NULL", + basedn?ldb_dn_get_linearized(basedn):"NULL", expr?expr:"NULL", res->count)); ret = res->count; -- cgit