diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-26 14:25:45 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-26 23:19:20 +0100 |
commit | 95cbcec8f986492766c4be3922af1e7644e1e7c5 (patch) | |
tree | 8ab1d4ad09d8bc078a96a18032be464c41e3bb1e /lib/openldap.c | |
parent | d003b0213a08678264db5c987a0556a2a6785438 (diff) | |
download | curl-95cbcec8f986492766c4be3922af1e7644e1e7c5.tar.gz |
urldata: merge "struct DynamicStatic" into "struct UrlState"
Both were used for the same purposes and there was no logical separation
between them. Combined, this also saves 16 bytes in less holes in my
test build.
Closes #6798
Diffstat (limited to 'lib/openldap.c')
-rw-r--r-- | lib/openldap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/openldap.c b/lib/openldap.c index c80ac8b07..049ddd437 100644 --- a/lib/openldap.c +++ b/lib/openldap.c @@ -179,7 +179,7 @@ static CURLcode ldap_setup_connection(struct Curl_easy *data, int rc, proto; CURLcode status; - rc = ldap_url_parse(data->change.url, &lud); + rc = ldap_url_parse(data->state.url, &lud); if(rc != LDAP_URL_SUCCESS) { const char *msg = "url parsing problem"; status = CURLE_URL_MALFORMAT; @@ -393,9 +393,9 @@ static CURLcode ldap_do(struct Curl_easy *data, bool *done) connkeep(conn, "OpenLDAP do"); - infof(data, "LDAP local: %s\n", data->change.url); + infof(data, "LDAP local: %s\n", data->state.url); - rc = ldap_url_parse(data->change.url, &ludp); + rc = ldap_url_parse(data->state.url, &ludp); if(rc != LDAP_URL_SUCCESS) { const char *msg = "url parsing problem"; status = CURLE_URL_MALFORMAT; |