diff options
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
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 |