From: Howard Chu Date: Sun, 2 Sep 2007 02:18:11 +0000 (+0000) Subject: ITS#5117 from HEAD - log error message on include: failure X-Git-Tag: OPENLDAP_REL_ENG_2_4_5BETA~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c02302a6133be3de7d3f009f940b4e4f81d31bc8;p=openldap ITS#5117 from HEAD - log error message on include: failure --- diff --git a/libraries/liblutil/ldif.c b/libraries/liblutil/ldif.c index 482a604d62..f3badef0b4 100644 --- a/libraries/liblutil/ldif.c +++ b/libraries/liblutil/ldif.c @@ -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; } } }