diff --git a/appl/ftp/ftp/ftp.c b/appl/ftp/ftp/ftp.c index dc68d2e8e..94459811f 100644 --- a/appl/ftp/ftp/ftp.c +++ b/appl/ftp/ftp/ftp.c @@ -363,7 +363,7 @@ getreply(int expecteof) fprintf(stdout, "%s%s\n", lead_string, buf); if(buf[3] == ' '){ strcpy(reply_string, buf); - if (code < 200) + if (code >= 200) cpend = 0; sigaction(SIGINT, &osa, NULL); if (code == 421)