]> git.sur5r.net Git - openldap/commitdiff
ITS#4810 log a message if be_entry_get doesn't return the entry we want
authorHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 04:10:18 +0000 (04:10 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 04:10:18 +0000 (04:10 +0000)
servers/slapd/overlays/syncprov.c

index ddb81a3336a26d107afad5012e49f67953944c2f..c6cef4a71bd1315d1b079c9837ad4fd2cea2474d 100644 (file)
@@ -842,7 +842,10 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so )
                if ( sr->s_mode != LDAP_SYNC_DELETE ) {
                        rc = be_entry_get_rw( op, &opc.sndn, NULL, NULL, 0, &e );
                        if ( rc ) {
+                               Debug( LDAP_DEBUG_SYNC, "syncprov_qplay: failed to get %s, "
+                                       "ignoring...\n", opc.sndn.bv_val );
                                ch_free( sr );
+                               rc = 0;
                                continue;
                        }
                }