diff options
author | Herb Lewis <herb@samba.org> | 2005-05-06 01:28:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:47 -0500 |
commit | 61ffe158f2d3f149b230cc31c4b58d7d025ab28d (patch) | |
tree | a161747332f17f8acbb24c371a4593e425511d61 /source3/tdb/tdbdump.c | |
parent | 526351bed9fff47797f8baeb512207a924757716 (diff) | |
download | samba-61ffe158f2d3f149b230cc31c4b58d7d025ab28d.tar.gz samba-61ffe158f2d3f149b230cc31c4b58d7d025ab28d.tar.bz2 samba-61ffe158f2d3f149b230cc31c4b58d7d025ab28d.zip |
r6623: This change fixes a few broken commands plus adds some
new commands. It also restructures it so you can execute
a single command from the command line. Input strings are
parsed to allow input of arbitrary characters using the
\xx syntax for hex values.
(This used to be commit 94e53472666edfb390605b8a7e9f9dffc3c845f5)
Diffstat (limited to 'source3/tdb/tdbdump.c')
-rw-r--r-- | source3/tdb/tdbdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/tdbdump.c b/source3/tdb/tdbdump.c index d2530f9f54..17ae536bc4 100644 --- a/source3/tdb/tdbdump.c +++ b/source3/tdb/tdbdump.c @@ -49,10 +49,10 @@ static void print_data(TDB_DATA d) static int traverse_fn(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, void *state) { printf("{\n"); - printf("key = \""); + printf("key(%d) = \"",key.dsize); print_data(key); printf("\"\n"); - printf("data = \""); + printf("data(%d) = \"",dbuf.dsize); print_data(dbuf); printf("\"\n"); printf("}\n"); |