Giaslas Georgios's Host: over proxy fix
authorDaniel Stenberg <daniel@haxx.se>
Sun, 17 Feb 2002 11:17:37 +0000 (11:17 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 17 Feb 2002 11:17:37 +0000 (11:17 +0000)
lib/url.c

index c26f2a1..fc2031c 100644 (file)
--- 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 */