summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb/ldb_search.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-28 07:05:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:36 -0500
commit6411aa483f9233af098b4893ad67ebd2fd9d5868 (patch)
tree53f33042ccebca4bb02187d44255a4a5da28f222 /source4/lib/ldb/ldb_tdb/ldb_search.c
parentee0489fff69533d04318de249aabd8d1d021d285 (diff)
downloadsamba-6411aa483f9233af098b4893ad67ebd2fd9d5868.tar.gz
samba-6411aa483f9233af098b4893ad67ebd2fd9d5868.tar.bz2
samba-6411aa483f9233af098b4893ad67ebd2fd9d5868.zip
r381: make the code more C++ friendly
(This used to be commit 8acecc7f27e25ab876fffffe43ae75b5f77aff77)
Diffstat (limited to 'source4/lib/ldb/ldb_tdb/ldb_search.c')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/source4/lib/ldb/ldb_tdb/ldb_search.c
index 9cb5853c94..9a2287e20e 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_search.c
@@ -237,7 +237,7 @@ void ltdb_search_dn1_free(struct ldb_context *ldb, struct ldb_message *msg)
*/
int ltdb_search_dn1(struct ldb_context *ldb, const char *dn, struct ldb_message *msg)
{
- struct ltdb_private *ltdb = ldb->private;
+ struct ltdb_private *ltdb = ldb->private_data;
int ret;
TDB_DATA tdb_key, tdb_data;
@@ -427,7 +427,7 @@ static int ltdb_search_full(struct ldb_context *ldb,
struct ldb_parse_tree *tree,
const char *attrs[], struct ldb_message ***res)
{
- struct ltdb_private *ltdb = ldb->private;
+ struct ltdb_private *ltdb = ldb->private_data;
int ret;
struct ltdb_search_info sinfo;