summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/tdb/tdbtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/tdb/tdbtool.c b/source3/tdb/tdbtool.c
index f529c6e6ee..f5e486be14 100644
--- a/source3/tdb/tdbtool.c
+++ b/source3/tdb/tdbtool.c
@@ -251,7 +251,8 @@ static void show_tdb(void)
}
key.dptr = k;
- key.dsize = strlen(k)+1;
+/* key.dsize = strlen(k)+1;*/
+ key.dsize = strlen(k);
dbuf = tdb_fetch(tdb, key);
if (!dbuf.dptr) {