mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Clarify loop break.
This commit is contained in:
parent
17a975b6fb
commit
428faea410
@ -187,13 +187,14 @@ ldif_getline( char **next )
|
||||
|
||||
while ( (*next = strchr( *next, '\n' )) != NULL ) {
|
||||
unsigned char c = *(*next + 1);
|
||||
if ( isspace( c ) && c != '\n' ) {
|
||||
**next = CONTINUED_LINE_MARKER;
|
||||
*(*next+1) = CONTINUED_LINE_MARKER;
|
||||
} else {
|
||||
|
||||
if ( !isspace( c ) || c == '\n' ) {
|
||||
*(*next)++ = '\0';
|
||||
break;
|
||||
}
|
||||
|
||||
**next = CONTINUED_LINE_MARKER;
|
||||
*(*next+1) = CONTINUED_LINE_MARKER;
|
||||
(*next)++;
|
||||
}
|
||||
} while( *line == '#' );
|
||||
|
Loading…
Reference in New Issue
Block a user