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
ingo Voss
OpenLDAP
Commits
5feeec67
Commit
5feeec67
authored
Dec 14, 2010
by
Hallvard Furuseth
Browse files
ITS#6747 Fix LDAP_CONNECTIONLESS Debug(), warnings
parent
0aa8c028
Changes
4
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/abandon.c
View file @
5feeec67
...
...
@@ -211,7 +211,7 @@ start_again:;
if
(
LDAP_IS_UDP
(
ld
)
)
{
struct
sockaddr
sa
=
{
0
};
/* dummy, filled with ldo_peer in request.c */
err
=
ber_write
(
ber
,
&
sa
,
sizeof
(
sa
),
0
);
err
=
ber_write
(
ber
,
(
char
*
)
&
sa
,
sizeof
(
sa
),
0
);
}
if
(
LDAP_IS_UDP
(
ld
)
&&
ld
->
ld_options
.
ldo_version
==
LDAP_VERSION2
)
...
...
libraries/libldap/search.c
View file @
5feeec67
...
...
@@ -302,7 +302,7 @@ ldap_build_search_req(
if
(
LDAP_IS_UDP
(
ld
)
)
{
struct
sockaddr
sa
=
{
0
};
/* dummy, filled with ldo_peer in request.c */
err
=
ber_write
(
ber
,
&
sa
,
sizeof
(
sa
),
0
);
err
=
ber_write
(
ber
,
(
char
*
)
&
sa
,
sizeof
(
sa
),
0
);
}
if
(
LDAP_IS_UDP
(
ld
)
&&
ld
->
ld_options
.
ldo_version
==
LDAP_VERSION2
)
{
char
*
dn
=
ld
->
ld_options
.
ldo_cldapdn
;
...
...
servers/slapd/connection.c
View file @
5feeec67
...
...
@@ -39,6 +39,10 @@
#include "lutil.h"
#include "slap.h"
#ifdef LDAP_CONNECTIONLESS
#include "../../libraries/liblber/lber-int.h"
/* ber_int_sb_read() */
#endif
#ifdef LDAP_SLAPI
#include "slapi/slapi.h"
#endif
...
...
servers/slapd/daemon.c
View file @
5feeec67
...
...
@@ -2867,7 +2867,7 @@ connectionless_init( void )
if
(
!
c
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"connectionless_init: failed on %s (%d)
\n
"
,
lr
->
sl_url
,
lr
->
sl_sd
,
0
);
lr
->
sl_url
.
bv_val
,
lr
->
sl_sd
,
0
);
return
-
1
;
}
lr
->
sl_is_udp
++
;
...
...
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