mirror of
https://github.com/curl/curl.git
synced 2026-05-16 17:06:21 +03:00
no need to copy the name when re-using the connection, we already have the
same name in that buffer from the URL parsing!
This commit is contained in:
parent
d3090ac3f9
commit
fde31f0988
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue