]> git.sur5r.net Git - openldap/commitdiff
Use str2entry2
authorHoward Chu <hyc@openldap.org>
Mon, 24 Jan 2005 03:42:56 +0000 (03:42 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 24 Jan 2005 03:42:56 +0000 (03:42 +0000)
servers/slapd/back-ldbm/id2entry.c
servers/slapd/back-ldbm/tools.c

index b5a7ec7fefeda11251d8f3da3e4fa36775ec8ca1..d45fb017b0ac5490abf6575bca5724f80df82406 100644 (file)
@@ -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 );
 
index 17f4571af1b4032951ba8e7d2adf6e1125cc2415..4fffb1f9d55bf2839049b5f40c1733d492b4776c 100644 (file)
@@ -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 ) {