mirror of
https://github.com/curl/curl.git
synced 2026-04-15 23:01:41 +03:00
Jon Turner mentioned this bug fix to correct how libcurl deals with paths
after a failed transfer.
This commit is contained in:
parent
a191fe028c
commit
45ef092cc2
1 changed files with 2 additions and 0 deletions
|
|
@ -2234,6 +2234,8 @@ CURLcode Curl_ftp(struct connectdata *conn)
|
|||
/* since we didn't connect now, we want do_more to get called */
|
||||
conn->bits.do_more = TRUE;
|
||||
}
|
||||
else
|
||||
freedirs(ftp);
|
||||
|
||||
return retcode;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue