aboutsummaryrefslogtreecommitdiff
path: root/lib/openldap.c
diff options
context:
space:
mode:
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