diff options
author | Kirill Smelkov <kirr@mns.spb.ru> | 2012-06-18 22:30:26 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-19 05:38:05 +0200 |
commit | 76758b9767fad45ff144bbfef3ab84bca5d4650e (patch) | |
tree | 139d261a3ff0a7e232c22978741b62e308a0c8b6 | |
parent | c3dcdf08f3472748c9e7984488398064abcd454a (diff) | |
download | samba-76758b9767fad45ff144bbfef3ab84bca5d4650e.tar.gz samba-76758b9767fad45ff144bbfef3ab84bca5d4650e.tar.bz2 samba-76758b9767fad45ff144bbfef3ab84bca5d4650e.zip |
tdb2: Fix typo in TDB1_porting.txt
Judging by code it's tdb1, where you needed to free old key's dptr
manually.
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | lib/tdb2/doc/TDB1_porting.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb2/doc/TDB1_porting.txt b/lib/tdb2/doc/TDB1_porting.txt index ef305cabba..e59295c22f 100644 --- a/lib/tdb2/doc/TDB1_porting.txt +++ b/lib/tdb2/doc/TDB1_porting.txt @@ -12,7 +12,7 @@ Interface differences between TDB1 and TDB2. - tdb2's tdb_fetch() returns an error, tdb1's returned the data directly (or tdb_null, and you were supposed to check tdb_error() to find out why). -- tdb2's tdb_nextkey() frees the old key's dptr, in tdb2 you needed to do +- tdb2's tdb_nextkey() frees the old key's dptr, in tdb1 you needed to do this manually. - tdb1's tdb_open/tdb_open_ex took an explicit hash size. tdb2's hash table |