summaryrefslogtreecommitdiffstats
path: root/source4/lib/gendb.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-12 05:56:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:08 -0500
commit7c78ec0e145064696552d750eaaa70f00a0882e8 (patch)
treec893bc90876914f65768d12e6df0ad6ef3c15c9b /source4/lib/gendb.c
parent9570e24df1397f31dbd7c8436928749da9fc378c (diff)
downloadsamba-7c78ec0e145064696552d750eaaa70f00a0882e8.tar.gz
samba-7c78ec0e145064696552d750eaaa70f00a0882e8.tar.xz
samba-7c78ec0e145064696552d750eaaa70f00a0882e8.zip
r8342: allow ldb_ldif_read_string() to continue in the string, so you can
read multiple records (This used to be commit 4b11c00421b5152fd7d4be0be0db983bb310021d)
Diffstat (limited to 'source4/lib/gendb.c')
-rw-r--r--source4/lib/gendb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/gendb.c b/source4/lib/gendb.c
index de3e49e652b..92bbd8155ca 100644
--- a/source4/lib/gendb.c
+++ b/source4/lib/gendb.c
@@ -99,7 +99,7 @@ int gendb_add_ldif(struct ldb_context *ldb, const char *ldif_string)
{
struct ldb_ldif *ldif;
int ret;
- ldif = ldb_ldif_read_string(ldb, ldif_string);
+ ldif = ldb_ldif_read_string(ldb, &ldif_string);
if (ldif == NULL) return -1;
ret = ldb_add(ldb, ldif->msg);
talloc_free(ldif);