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
orbea -
OpenLDAP
Commits
3297be04
Commit
3297be04
authored
Jan 19, 2007
by
Kurt Zeilenga
Browse files
silence warnings
parent
364ea4fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldap/back-ldap.h
View file @
3297be04
...
@@ -79,11 +79,11 @@ typedef struct ldapconn_t {
...
@@ -79,11 +79,11 @@ typedef struct ldapconn_t {
( -1 - (long)(lc)->lc_conn ) : (lc)->lc_conn->c_connid )
( -1 - (long)(lc)->lc_conn ) : (lc)->lc_conn->c_connid )
#ifdef HAVE_TLS
#ifdef HAVE_TLS
#define LDAP_BACK_PCONN_ROOTDN_SET(lc, op) \
#define LDAP_BACK_PCONN_ROOTDN_SET(lc, op) \
((lc)->lc_conn = (void *)((op)->o_conn->c_is_tls ? LDAP_BACK_PCONN_ROOTDN_TLS : LDAP_BACK_PCONN_ROOTDN))
((lc)->lc_conn = (void *)((op)->o_conn->c_is_tls ?
(void *)
LDAP_BACK_PCONN_ROOTDN_TLS :
(void *)
LDAP_BACK_PCONN_ROOTDN))
#define LDAP_BACK_PCONN_ANON_SET(lc, op) \
#define LDAP_BACK_PCONN_ANON_SET(lc, op) \
((lc)->lc_conn = (void *)((op)->o_conn->c_is_tls ? LDAP_BACK_PCONN_ANON_TLS : LDAP_BACK_PCONN_ANON))
((lc)->lc_conn = (void *)((op)->o_conn->c_is_tls ?
(void *)
LDAP_BACK_PCONN_ANON_TLS :
(void *)
LDAP_BACK_PCONN_ANON))
#define LDAP_BACK_PCONN_BIND_SET(lc, op) \
#define LDAP_BACK_PCONN_BIND_SET(lc, op) \
((lc)->lc_conn = (void *)((op)->o_conn->c_is_tls ? LDAP_BACK_PCONN_BIND_TLS : LDAP_BACK_PCONN_BIND))
((lc)->lc_conn = (void *)((op)->o_conn->c_is_tls ?
(void *)
LDAP_BACK_PCONN_BIND_TLS :
(void *)
LDAP_BACK_PCONN_BIND))
#else
/* ! HAVE_TLS */
#else
/* ! HAVE_TLS */
#define LDAP_BACK_PCONN_ROOTDN_SET(lc, op) \
#define LDAP_BACK_PCONN_ROOTDN_SET(lc, op) \
((lc)->lc_conn = (void *)LDAP_BACK_PCONN_ROOTDN)
((lc)->lc_conn = (void *)LDAP_BACK_PCONN_ROOTDN)
...
...
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