aboutsummaryrefslogtreecommitdiff
path: root/libftpconn/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libftpconn/cmd.c')
-rw-r--r--libftpconn/cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libftpconn/cmd.c b/libftpconn/cmd.c
index 803dda7c..9916d03b 100644
--- a/libftpconn/cmd.c
+++ b/libftpconn/cmd.c
@@ -156,9 +156,8 @@ ftp_conn_abort (struct ftp_conn *conn)
&& write (conn->control, abor, sizeof abor) == sizeof abor)
{
int reply;
- error_t err;
do
- err = ftp_conn_get_raw_reply (conn, &reply, 0);
+ ftp_conn_get_raw_reply (conn, &reply, 0);
while (reply == REPLY_ABORTED);
if (reply != REPLY_TRANS_OK && reply != REPLY_ABORT_OK)
ftp_conn_close (conn);