Minor change to last commit...

This commit is contained in:
Kurt Zeilenga 2001-09-25 19:50:46 +00:00
parent 0e53126e68
commit f4d48da5f4

View File

@ -280,16 +280,12 @@ ldif_getline( char **next )
}
#endif
if ( (*next)[1] == '\r' ) {
if( (*next)[2] == '\n' ) {
if ( (*next)[1] != ' ' ) {
if ( (*next)[1] == '\r' && (*next)[2] == '\n' ) {
*(*next)++ = '\0';
}
*(*next)++ = '\0';
break;
} else if ( (*next)[1] != ' ' ) {
*(*next)++ = '\0';
break;
}
**next = CONTINUED_LINE_MARKER;