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
David Barchiesi
OpenLDAP
Commits
d5a62677
Commit
d5a62677
authored
Nov 06, 1998
by
Kurt Zeilenga
Browse files
change -1UL to (unsigned long) -1L for NT4
parent
4b3a13ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/cldap.c
View file @
d5a62677
...
...
@@ -111,7 +111,7 @@ cldap_open( char *host, int port )
}
}
if
(
(
address
=
inet_addr
(
host
))
==
-
1
U
L
)
{
if
(
(
address
=
inet_addr
(
host
))
==
(
unsigned
long
)
-
1L
)
{
if
(
(
hp
=
gethostbyname
(
host
))
==
NULL
)
{
errno
=
EHOSTUNREACH
;
continue
;
...
...
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