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:
927e392
)
unitialized variable fix, reported by both Marty Kuhrt and benjamin gerard
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 6 Nov 2003 07:55:45 +0000
(07:55 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 6 Nov 2003 07:55:45 +0000
(07:55 +0000)
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index
4d5ea03
..
306cb96
100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-1854,10
+1854,9
@@
CURLcode Curl_perform(struct SessionHandle *data)
to the new URL */
urlchanged = data->change.url_changed;
if ((CURLE_OK == res) && urlchanged) {
- char *gotourl;
res = Curl_done(conn);
if(CURLE_OK == res) {
-
new
url = strdup(data->change.url);
+
char *goto
url = strdup(data->change.url);
res = Curl_follow(data, gotourl);
if(res)
free(gotourl);