diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-24 17:14:02 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-24 17:13:37 +0000 |
commit | a89ec793d0924a351e18386ddc0bab9995abc83c (patch) | |
tree | bb2b61f630a1df09313bde7fb3f4a93e576bfb12 /lib/openldap.c | |
parent | ce2a80b48201443fa9b5fa67ad9f0f62b905c797 (diff) | |
download | curl-a89ec793d0924a351e18386ddc0bab9995abc83c.tar.gz |
openldap: Use standard naming for setup connection function
Renamed ldap_setup() to ldap_setup_connection() to follow more widely
used function naming.
Diffstat (limited to 'lib/openldap.c')
-rw-r--r-- | lib/openldap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/openldap.c b/lib/openldap.c index 418a1c96e..fad817bb6 100644 --- a/lib/openldap.c +++ b/lib/openldap.c @@ -59,7 +59,7 @@ extern int ldap_init_fd(ber_socket_t fd, int proto, const char *url, LDAP **ld); #endif -static CURLcode ldap_setup(struct connectdata *conn); +static CURLcode ldap_setup_connection(struct connectdata *conn); static CURLcode ldap_do(struct connectdata *conn, bool *done); static CURLcode ldap_done(struct connectdata *conn, CURLcode, bool); static CURLcode ldap_connect(struct connectdata *conn, bool *done); @@ -74,7 +74,7 @@ static Curl_recv ldap_recv; const struct Curl_handler Curl_handler_ldap = { "LDAP", /* scheme */ - ldap_setup, /* setup_connection */ + ldap_setup_connection, /* setup_connection */ ldap_do, /* do_it */ ldap_done, /* done */ ZERO_NULL, /* do_more */ @@ -99,7 +99,7 @@ const struct Curl_handler Curl_handler_ldap = { const struct Curl_handler Curl_handler_ldaps = { "LDAPS", /* scheme */ - ldap_setup, /* setup_connection */ + ldap_setup_connection, /* setup_connection */ ldap_do, /* do_it */ ldap_done, /* done */ ZERO_NULL, /* do_more */ @@ -148,7 +148,7 @@ typedef struct ldapreqinfo { int nument; } ldapreqinfo; -static CURLcode ldap_setup(struct connectdata *conn) +static CURLcode ldap_setup_connection(struct connectdata *conn) { ldapconninfo *li; LDAPURLDesc *lud; |