[PATCH] tdb2: Fix typo in TDB1_porting.txt

Kirill Smelkov kirr at mns.spb.ru
Mon May 14 08:57:36 MDT 2012


Judging by code it's tdb1, where you needed to free old key's dptr
manually.

Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
---
 lib/tdb2/doc/TDB1_porting.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tdb2/doc/TDB1_porting.txt b/lib/tdb2/doc/TDB1_porting.txt
index ef305ca..e59295c 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
-- 
1.7.10.2.641.g441bd9a.dirty



More information about the samba-technical mailing list