aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-12-02 17:08:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-12-02 17:08:37 +0000
commit15360e5e51aabb142cb71b130ae6a24ff2ba86dd (patch)
treefd0fdb9c871a7ab49dc38f1ac24c0b604ab26514
parente587a56fc0e3d643b58e8090163a5ecd7516fa35 (diff)
prevent an initial "(nil)" to get sent in the initial request when doing
CONNECT to a proxy with digest
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
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:""
);