Skip to content
Snippets Groups Projects
Commit 6556841e authored by Howard Chu's avatar Howard Chu
Browse files

ITS#4635 CR LF fix from HEAD

parent 9d2363a3
No related branches found
No related tags found
No related merge requests found
......@@ -822,7 +822,8 @@ ldif_read_record(
if ( last_ch == '\n' ) {
(*lno)++;
if ( line[0] == '\n' ) {
if ( line[0] == '\n' ||
( line[0] == '\r' && line[1] == '\n' )) {
if ( !found_entry ) {
lcur = 0;
top_comment = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment