aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 44d4adef4..013ebac70 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2022,7 +2022,6 @@ static CURLcode Connect(struct UrlData *data,
free(conn->path); /* free the previous path pointer */
/* we need these pointers if we speak over a proxy */
- strcpy(conn->gname, old_conn->gname); /* copy the name */
conn->name = conn->gname;
conn->hostname = old_conn->gname;