]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
entry_close fix from HEAD
authorHoward Chu <hyc@openldap.org>
Wed, 21 Jan 2004 04:45:22 +0000 (04:45 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 21 Jan 2004 04:45:22 +0000 (04:45 +0000)
servers/slapd/backglue.c

index 63fe87d0b151117fe42caaaf2f75f67d58b7f6ac..78bb992c51d368942af1f434462df236be7e936e 100644 (file)
@@ -511,7 +511,8 @@ glue_tool_entry_next (
 
        /* If we ran out of entries in one database, move on to the next */
        while (rc == NOID) {
-               glueBack->be_entry_close (glueBack);
+               if ( glueBack->be_entry_close )
+                       glueBack->be_entry_close (glueBack);
                for (i=0; i<gi->nodes; i++) {
                        if (gi->n[i].be == glueBack)
                                break;