ITS#5117 try to log a message if chasing an include: fails. Since

ldif_read_record() doesn't distinguish errors from EOF, this is kind
of futile.
This commit is contained in:
Howard Chu 2007-09-02 02:16:52 +00:00
parent 54517b9fb2
commit ec78507682

View 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;
}
}
}