]> git.sur5r.net Git - openldap/commitdiff
ITS#5117 from HEAD - log error message on include: failure
authorHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 02:18:11 +0000 (02:18 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 2 Sep 2007 02:18:11 +0000 (02:18 +0000)
libraries/liblutil/ldif.c

index 482a604d62b13f7c3756ea8c5941572c6d6fabb3..f3badef0b4721c8f06ecda1fe1994d487f6e13f8 100644 (file)
@@ -879,7 +879,9 @@ ldif_read_record(
                                                        /* We failed to open the file, this should
                                                         * be reported as an error somehow.
                                                         */
-                                                       break;
+                                                       ber_pvt_log_printf( LDAP_DEBUG_ANY, ldif_debug,
+                                                               _("ldif_read_record: include %s failed\n"), ptr );
+                                                       return 0;
                                                }
                                        }
                                }