summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-10 13:22:51 +0100
committerVolker Lendecke <vl@samba.org>2008-01-10 22:12:57 +0100
commitb7d222c690a8b5e2b15b694c95015f735eff9cda (patch)
treee68fc9d74bc494676db51e694fbed56b109c6b66
parente9a3a62e7448bef72d9c17c90ff2b404082f067c (diff)
downloadsamba-b7d222c690a8b5e2b15b694c95015f735eff9cda.tar.gz
samba-b7d222c690a8b5e2b15b694c95015f735eff9cda.tar.bz2
samba-b7d222c690a8b5e2b15b694c95015f735eff9cda.zip
Tiny cosmetic fix
(This used to be commit c82c1d462be6ddccd6e395b4a9630df91dacbda2)
-rw-r--r--source3/lib/dbwrap_tdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/dbwrap_tdb.c b/source3/lib/dbwrap_tdb.c
index 83a0d111aa..710e45de6b 100644
--- a/source3/lib/dbwrap_tdb.c
+++ b/source3/lib/dbwrap_tdb.c
@@ -160,8 +160,7 @@ static int db_tdb_fetch(struct db_context *db, TALLOC_CTX *mem_ctx,
state.mem_ctx = mem_ctx;
state.result = 0;
- state.data.dptr = NULL;
- state.data.dsize = 0;
+ state.data = tdb_null;
tdb_parse_record(ctx->wtdb->tdb, key, db_tdb_fetch_parse, &state);