aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-20 07:53:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-20 07:53:24 +0000
commitb7a760046545fa9afc3feca68d12dc087fbe625c (patch)
tree292e468bc07f8c59917ab2f078343ac6bed5b354 /lib/transfer.c
parent111a2f3057b3a13cb91e3c5a702bd1254f774dbb (diff)
Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
length limit of the hostname part of the URL.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 977cb72d4..cb24dd30f 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -802,8 +802,8 @@ CURLcode Curl_readwrite(struct connectdata *conn,
/* If there is a custom-set Host: name, use it
here, or else use real peer host name. */
conn->allocptr.cookiehost?
- conn->allocptr.cookiehost:conn->name,
- conn->ppath);
+ conn->allocptr.cookiehost:conn->hostname,
+ conn->path);
Curl_share_unlock(data, CURL_LOCK_DATA_COOKIE);
}
else if(checkprefix("Last-Modified:", k->p) &&