Skip to content
Snippets Groups Projects
Commit fde31f09 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

no need to copy the name when re-using the connection, we already have the

same name in that buffer from the URL parsing!
parent d3090ac3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment