Jon Turner mentioned this bug fix to correct how libcurl deals with paths

after a failed transfer.
This commit is contained in:
Daniel Stenberg 2003-10-04 15:25:02 +00:00
parent a191fe028c
commit 45ef092cc2
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}