summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-04-23 06:11:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-04-23 06:11:08 +0000
commitfde31f0988bebc963260294e4d048cdd0c5aeb99 (patch)
tree44d52eb3d13a61e38d36622cda9ecf1724ec1bdd
parentd3090ac3f9461213b6d311fb97768eb363800672 (diff)
downloadgnurl-fde31f0988bebc963260294e4d048cdd0c5aeb99.tar.gz
gnurl-fde31f0988bebc963260294e4d048cdd0c5aeb99.tar.bz2
gnurl-fde31f0988bebc963260294e4d048cdd0c5aeb99.zip
no need to copy the name when re-using the connection, we already have the
same name in that buffer from the URL parsing!
-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;