Clarify loop break.

This commit is contained in:
Kurt Zeilenga 1999-07-29 23:05:15 +00:00
parent 17a975b6fb
commit 428faea410

View File

@ -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 == '#' );