From 76758b9767fad45ff144bbfef3ab84bca5d4650e Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Mon, 18 Jun 2012 22:30:26 +0930 Subject: 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 Signed-off-by: Rusty Russell --- lib/tdb2/doc/TDB1_porting.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit