tdb2: Fix typo in TDB1_porting.txt
authorKirill Smelkov <kirr@mns.spb.ru>
Mon, 18 Jun 2012 13:00:26 +0000 (22:30 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Jun 2012 03:38:05 +0000 (05:38 +0200)
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>
lib/tdb2/doc/TDB1_porting.txt

index ef305cabbae31f6f3a17e435c449b2f39352dd97..e59295c22f840d67972bed449adf94d25a36d5b3 100644 (file)
@@ -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