projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3090ac
)
no need to copy the name when re-using the connection, we already have the
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Apr 2001 06:11:08 +0000
(06:11 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 23 Apr 2001 06:11:08 +0000
(06:11 +0000)
same name in that buffer from the URL parsing!
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index 44d4adef4f98366b17f50781c0203bd8b18efee7..013ebac7041a67769a9c77704775f1d0145979f7 100644
(file)
--- 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;