Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johan Pascal
OpenLDAP
Commits
d5a62677
Commit
d5a62677
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
change -1UL to (unsigned long) -1L for NT4
parent
4b3a13ab
No related branches found
Branches containing commit
Tags
OPENLDAP_REL_ENG_1_1_ALPHA2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/libldap/cldap.c
+1
-1
1 addition, 1 deletion
libraries/libldap/cldap.c
with
1 addition
and
1 deletion
libraries/libldap/cldap.c
+
1
−
1
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment