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
Tero Saarni
OpenLDAP
Commits
67708b3d
Commit
67708b3d
authored
Mar 26, 2012
by
Howard Chu
Committed by
Quanah Gibson-Mount
Mar 26, 2012
Browse files
ITS#7207 check for ld->ld_defconn
parent
d67a54eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/cyrus.c
View file @
67708b3d
...
...
@@ -419,7 +419,7 @@ ldap_int_sasl_bind(
LDAP_MUTEX_LOCK
(
&
ld
->
ld_conn_mutex
);
ber_sockbuf_ctrl
(
ld
->
ld_sb
,
LBER_SB_OPT_GET_FD
,
&
sd
);
if
(
sd
==
AC_SOCKET_INVALID
)
{
if
(
sd
==
AC_SOCKET_INVALID
||
!
ld
->
ld_defconn
)
{
/* not connected yet */
rc
=
ldap_open_defconn
(
ld
);
...
...
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