summaryrefslogtreecommitdiff
path: root/libftpconn
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-05-14 19:55:32 +0000
committerMiles Bader <miles@gnu.org>1997-05-14 19:55:32 +0000
commit234524230067cbd69c4f77e16e06725fece2ab3a (patch)
treed2c2af35754d50145b7556757cd6fd1033c402fe /libftpconn
parenta87f8ca95d882511bcc7be8dbea626524dbb628f (diff)
(ftp_conn_unix_cont_get_stats): Clean up our ftp transfer when we're done.
Diffstat (limited to 'libftpconn')
-rw-r--r--libftpconn/unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libftpconn/unix.c b/libftpconn/unix.c
index 1737bff7..f72ae855 100644
--- a/libftpconn/unix.c
+++ b/libftpconn/unix.c
@@ -649,6 +649,8 @@ finished:
if (err && rd > 0)
ftp_conn_abort (conn);
+ else
+ err = ftp_conn_finish_transfer (conn);
return err;
}