]> granicus.if.org Git - curl/commitdiff
prevent an initial "(nil)" to get sent in the initial request when doing
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 Dec 2004 17:08:37 +0000 (17:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Dec 2004 17:08:37 +0000 (17:08 +0000)
CONNECT to a proxy with digest

lib/http.c

index 1277fa21d3a101f8eaafa8519a392ebb3fb731b5..c397438c44f03016cb9762dfd24dfe7692a9038a 100644 (file)
@@ -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:""
                    );