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
Joe Martin
OpenLDAP
Commits
457a36ee
Commit
457a36ee
authored
Aug 14, 2009
by
Quanah Gibson-Mount
Browse files
More for prev commit
parent
97f56d92
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/os-ip.c
View file @
457a36ee
...
...
@@ -162,7 +162,7 @@ ldap_int_prepare_socket(LDAP *ld, int s, int proto )
if
(
ld
->
ld_options
.
ldo_keepalive_probes
>
0
)
{
#ifdef TCP_KEEPCNT
if
(
setsockopt
(
s
,
SOL
_TCP
,
TCP_KEEPCNT
,
if
(
setsockopt
(
s
,
IPPROTO
_TCP
,
TCP_KEEPCNT
,
(
void
*
)
&
ld
->
ld_options
.
ldo_keepalive_probes
,
sizeof
(
ld
->
ld_options
.
ldo_keepalive_probes
)
)
==
AC_SOCKET_ERROR
)
{
...
...
@@ -179,7 +179,7 @@ ldap_int_prepare_socket(LDAP *ld, int s, int proto )
if
(
ld
->
ld_options
.
ldo_keepalive_interval
>
0
)
{
#ifdef TCP_KEEPINTVL
if
(
setsockopt
(
s
,
SOL
_TCP
,
TCP_KEEPINTVL
,
if
(
setsockopt
(
s
,
IPPROTO
_TCP
,
TCP_KEEPINTVL
,
(
void
*
)
&
ld
->
ld_options
.
ldo_keepalive_interval
,
sizeof
(
ld
->
ld_options
.
ldo_keepalive_interval
)
)
==
AC_SOCKET_ERROR
)
{
...
...
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