Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
gaoxingwang
dhcp
Commits
83175640
Commit
83175640
authored
Dec 09, 2019
by
Thomas Markwalder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#51
] Fixed a syntax error in ldap.c
server/ldap.c - fixed invalid compare to "\0" added a release note
parent
2fefb3ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
RELNOTES
RELNOTES
+4
-0
server/ldap.c
server/ldap.c
+1
-1
No files found.
RELNOTES
View file @
83175640
...
...
@@ -199,6 +199,10 @@ by Eric Young (eay@cryptsoft.com).
source.
[Gitlab #35]
- Fixed a syntax error in ldap.c which cropped up under Ubuntu
18.04.1/gcc 7.4.0. Thanks to Charles Hedrick for pointing it out.
[Gitlab #51]
Changes since 4.4.0 (New Features)
- none
Changes since 4.4.0 (Bug Fixes)
...
...
server/ldap.c
View file @
83175640
...
...
@@ -925,7 +925,7 @@ ldap_parse_failover (struct ldap_config_stack *item, struct parse *cfile)
ldap_value_free_len
(
tempbv
);
if
(
primary
==
-
1
||
srvaddr
[
0
]
==
'\0'
||
srvaddr
[
1
]
==
'\0'
)
if
(
primary
==
-
1
||
*
srvaddr
[
0
]
==
'\0'
||
*
srvaddr
[
1
]
==
'\0'
)
{
log_error
(
"Could not decide if the server type is primary"
" or secondary for failover peering '%s'."
,
peername
[
0
]
->
bv_val
);
...
...
Write
Preview
Markdown
is supported
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