From 12510a2da74ef037c274b1c54802ec018d77659e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 24 Jan 2005 03:42:56 +0000 Subject: [PATCH] Use str2entry2 --- servers/slapd/back-ldbm/id2entry.c | 2 +- servers/slapd/back-ldbm/tools.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldbm/id2entry.c b/servers/slapd/back-ldbm/id2entry.c index b5a7ec7fef..d45fb017b0 100644 --- a/servers/slapd/back-ldbm/id2entry.c +++ b/servers/slapd/back-ldbm/id2entry.c @@ -186,7 +186,7 @@ id2entry_rw( Backend *be, ID id, int rw ) return( NULL ); } - e = str2entry( data.dptr ); + e = str2entry2( data.dptr, 0 ); ldbm_datum_free( db->dbc_db, data ); ldbm_cache_close( be, db ); diff --git a/servers/slapd/back-ldbm/tools.c b/servers/slapd/back-ldbm/tools.c index 17f4571af1..4fffb1f9d5 100644 --- a/servers/slapd/back-ldbm/tools.c +++ b/servers/slapd/back-ldbm/tools.c @@ -158,7 +158,7 @@ Entry* ldbm_tool_entry_get( BackendDB *be, ID id ) return NULL; } - e = str2entry( data.dptr ); + e = str2entry2( data.dptr, 0 ); ldbm_datum_free( id2entry->dbc_db, data ); if( e != NULL ) { -- 2.39.5