diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-09-14 15:04:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-09-14 15:04:01 +0000 |
commit | 0b8ccd0ae75369e34ee166650dd0aaf63b9af8a0 (patch) | |
tree | 4d103e674f9a40e711d4540d4c77245085f2b28b /lib | |
parent | 0b7f5ad508337f2c9647debf19cbd5fbffda3484 (diff) |
oops, return error if an error did occur!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3819,6 +3819,7 @@ static CURLcode ftp_dophase_done(struct connectdata *conn, /* Failure detected, close the second socket if it was created already */ sclose(conn->sock[SECONDARYSOCKET]); conn->sock[SECONDARYSOCKET] = CURL_SOCKET_BAD; + return result; } if(ftp->no_transfer) |