Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
5972fb95
Commit
5972fb95
authored
Aug 05, 2002
by
Kurt Zeilenga
Browse files
Fix LDIF LF / CRLF handling.
Patch suggested by Matthew Backes <lucca@csun.edu>
parent
64791571
Changes
1
Hide whitespace changes
Inline
Side-by-side
clients/tools/ldapmodify.c
View file @
5972fb95
...
...
@@ -1238,7 +1238,7 @@ read_one_record( FILE *fp )
while
(
fgets
(
line
,
sizeof
(
line
),
fp
)
!=
NULL
)
{
int
len
=
strlen
(
line
);
if
(
len
<
2
||
(
len
==
3
&&
*
line
==
'\r'
))
{
if
(
len
<
2
||
(
len
==
2
&&
*
line
==
'\r'
))
{
if
(
buf
==
NULL
)
{
continue
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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