From fde31f0988bebc963260294e4d048cdd0c5aeb99 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 Apr 2001 06:11:08 +0000 Subject: [PATCH] no need to copy the name when re-using the connection, we already have the same name in that buffer from the URL parsing! --- lib/url.c | 1 - 1 file changed, 1 deletion(-) 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;