mirror of
https://github.com/php/php-src.git
synced 2025-01-21 19:24:16 +08:00
Fix the fix.
This commit is contained in:
parent
78194a47b7
commit
55ccb5a35b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user