aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-20 08:53:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-20 08:53:21 +0000
commit42280e95bf159c4db89e3d9ea3d2e77f32cf800f (patch)
tree9bb798409f402e6a01eab36b5de1bdf870431892 /lib/http.c
parentb2ad1f68ccc066799685a86886c7df71b7ea1489 (diff)
removed URL size restrictions
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index d5241acec..2ff643248 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -327,7 +327,7 @@ CURLcode http(struct connectdata *conn)
}
if ((data->bits.httpproxy) && !(conn->protocol&PROT_HTTPS)) {
/* The path sent to the proxy is in fact the entire URL */
- strncpy(ppath, data->url, URL_MAX_LENGTH-1);
+ ppath = data->url;
}
if(data->bits.http_formpost) {
/* we must build the whole darned post sequence first, so that we have