summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_utf8.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-06-09 02:47:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:51 -0500
commita6717fae681f89cf427e282d645029ca0b3e4d44 (patch)
treec5b5c53eaa75bc6dcb17a72aed261baaa9548a5a /source4/lib/ldb/common/ldb_utf8.c
parent322f0df3f124c95f2f50abbb2c07616a6cf721c0 (diff)
downloadsamba-a6717fae681f89cf427e282d645029ca0b3e4d44.tar.gz
samba-a6717fae681f89cf427e282d645029ca0b3e4d44.tar.bz2
samba-a6717fae681f89cf427e282d645029ca0b3e4d44.zip
r7418: work in progress
(This used to be commit 2a13e7655b1bce88694ddbb6a4d9349008ba42f0)
Diffstat (limited to 'source4/lib/ldb/common/ldb_utf8.c')
-rw-r--r--source4/lib/ldb/common/ldb_utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb_utf8.c b/source4/lib/ldb/common/ldb_utf8.c
index 9cbb5646dd..dc25d6cf13 100644
--- a/source4/lib/ldb/common/ldb_utf8.c
+++ b/source4/lib/ldb/common/ldb_utf8.c
@@ -41,10 +41,10 @@
TODO:
a simple case folding function - will be replaced by a UTF8 aware function later
*/
-char *ldb_casefold(struct ldb_context *ldb, const char *s)
+char *ldb_casefold(void *mem_ctx, const char *s)
{
int i;
- char *ret = talloc_strdup(ldb, s);
+ char *ret = talloc_strdup(mem_ctx, s);
if (!s) {
errno = ENOMEM;
return NULL;