From 55ccb5a35b04bce8566ff9d29c263726f60c8926 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 31 Oct 2000 00:00:26 +0000 Subject: [PATCH] Fix the fix. --- ext/ftp/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 11966750bb..b81ff204e7 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1204,7 +1204,7 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path) fclose(tmpfp); - if (!ftp_getresp(ftp) || ftp->resp != 226 || ftp->resp != 250) { + if (!ftp_getresp(ftp) || (ftp->resp != 226 && ftp->resp != 250)) { free(ret); return NULL; } -- 2.50.1