prevent an initial "(nil)" to get sent in the initial request when doing

CONNECT to a proxy with digest
This commit is contained in:
Daniel Stenberg 2004-12-02 17:08:37 +00:00
parent e587a56fc0
commit 15360e5e51
1 changed files with 1 additions and 1 deletions

View 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:""
);