Skip to content
Snippets Groups Projects
Commit 428faea4 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Clarify loop break.

parent 17a975b6
No related branches found
Tags OPENLDAP_REL_ENG_2_3_21
No related merge requests found
......@@ -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 == '#' );
......
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