Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
428faea4
Commit
428faea4
authored
Jul 29, 1999
by
Kurt Zeilenga
Browse files
Clarify loop break.
parent
17a975b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldif/line64.c
View file @
428faea4
...
...
@@ -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
==
'#'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment