summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-12-20 01:34:06 +0000
committerTim Potter <tpot@samba.org>2002-12-20 01:34:06 +0000
commitd4f08a480274c0599a561d205bfbdabb505c648f (patch)
tree38b90ef224cb96d99bd5dca67ac8eed52ebcdfad /source3
parent53a87ee8eb9f46b40ecae0b1bf4b8facf1aaf1a3 (diff)
downloadsamba-d4f08a480274c0599a561d205bfbdabb505c648f.tar.gz
samba-d4f08a480274c0599a561d205bfbdabb505c648f.tar.bz2
samba-d4f08a480274c0599a561d205bfbdabb505c648f.zip
Merge of some kind of bugfix from idra.
(This used to be commit 0f556b1c0258b2cafa00b9eb2b213bec0ff88d86)
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) {