aboutsummaryrefslogtreecommitdiff
path: root/lib/openldap.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-03-14 22:52:14 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-03-14 22:52:14 +0100
commit13b64d75589647f8d151e035bd2c5d340a1c37ee (patch)
tree9c34a261f8803232da1b93836d2fa7b4e33db4b4 /lib/openldap.c
parent8831000bc07de463d277975a3ddfb6a31dcf14b4 (diff)
protocols: use CURLPROTO_ internally
The PROT_* set of internal defines for the protocols is no longer used. We now use the same bits internally as we have defined in the public header using the CURLPROTO_ prefix. This is for simplicity and because the PROT_* prefix was already used duplicated internally for a set of KRB4 values. The PROTOPT_* defines were moved up to just below the struct definition within which they are used.
Diffstat (limited to 'lib/openldap.c')
-rw-r--r--lib/openldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/openldap.c b/lib/openldap.c
index 386f796e5..ec723beb2 100644
--- a/lib/openldap.c
+++ b/lib/openldap.c
@@ -83,7 +83,7 @@ const struct Curl_handler Curl_handler_ldap = {
ZERO_NULL, /* perform_getsock */
ldap_disconnect, /* disconnect */
PORT_LDAP, /* defport */
- PROT_LDAP, /* protocol */
+ CURLPROTO_LDAP, /* protocol */
PROTOPT_NONE /* flags */
};
@@ -106,7 +106,7 @@ const struct Curl_handler Curl_handler_ldaps = {
ZERO_NULL, /* perform_getsock */
ldap_disconnect, /* disconnect */
PORT_LDAPS, /* defport */
- PROT_LDAP, /* protocol */
+ CURLPROTO_LDAP, /* protocol */
PROTOPT_SSL /* flags */
};
#endif