aboutsummaryrefslogtreecommitdiff
path: root/lib/http.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/http.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/http.c')
-rw-r--r--lib/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index 3a1f89025..66b5ce228 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1150,8 +1150,8 @@ CURLcode Curl_http(struct connectdata *conn)
CURLcode result=CURLE_OK;
struct HTTP *http;
struct Cookie *co=NULL; /* no cookies from start */
- char *ppath = conn->ppath; /* three previous function arguments */
- char *host = conn->name;
+ char *ppath = conn->path;
+ char *host = conn->hostname;
const char *te = ""; /* tranfer-encoding */
char *ptr;
char *request;