diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-09-28 10:26:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-09-28 10:26:44 +0000 |
commit | 13962adcb55a676b0b47925680b2e17b3e4815f0 (patch) | |
tree | d1a53e3d0ebafde09e27e6cdd01b5e2948e78e1b /lib/url.c | |
parent | 221f1c2ca288ce33501e867f1df45f4d84fbe8e5 (diff) |
7.3 commit
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1392,7 +1392,8 @@ CURLcode curl_connect(CURL *curl, CURLconnect **in_connect) if(data->bits.proxy_user_passwd) { char *authorization; sprintf(data->buffer, "%s:%s", data->proxyuser, data->proxypasswd); - if(base64Encode(data->buffer, 0, &authorization) >= 0) { + if(base64_encode(data->buffer, strlen(data->buffer), + &authorization) >= 0) { data->ptr_proxyuserpwd = maprintf("Proxy-authorization: Basic %s\015\012", authorization); free(authorization); |