aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index c26f2a199..fc2031c94 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1984,6 +1984,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
/* we need these pointers if we speak over a proxy */
conn->hostname = old_conn->gname;
+ conn->name = old_conn->name;
free(conn->path); /* free the previously allocated path pointer */