From 15360e5e51aabb142cb71b130ae6a24ff2ba86dd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 2 Dec 2004 17:08:37 +0000 Subject: prevent an initial "(nil)" to get sent in the initial request when doing CONNECT to a proxy with digest --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.c b/lib/http.c index 1277fa21d..c397438c4 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1068,7 +1068,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn, "%s" "\r\n", hostname, remote_port, - conn->bits.proxy_user_passwd? + conn->allocptr.proxyuserpwd? conn->allocptr.proxyuserpwd:"", data->set.useragent?conn->allocptr.uagent:"" ); -- cgit v1.2.3