mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Minor change to last commit...
This commit is contained in:
parent
0e53126e68
commit
f4d48da5f4
@ -280,16 +280,12 @@ ldif_getline( char **next )
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( (*next)[1] == '\r' ) {
|
if ( (*next)[1] != ' ' ) {
|
||||||
if( (*next)[2] == '\n' ) {
|
if ( (*next)[1] == '\r' && (*next)[2] == '\n' ) {
|
||||||
*(*next)++ = '\0';
|
*(*next)++ = '\0';
|
||||||
}
|
}
|
||||||
*(*next)++ = '\0';
|
*(*next)++ = '\0';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
} else if ( (*next)[1] != ' ' ) {
|
|
||||||
*(*next)++ = '\0';
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
**next = CONTINUED_LINE_MARKER;
|
**next = CONTINUED_LINE_MARKER;
|
||||||
|
Loading…
Reference in New Issue
Block a user