cvs: php4 /ext/ftp ftp.c

From: Date: Tue, 31 Oct 2000 00:00:26 +0000
Subject: cvs: php4 /ext/ftp ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2365@lists.php.net to get a copy of this message
sniper Mon Oct 30 16:00:26 2000 EDT Modified files: /php4/ext/ftp ftp.c Log: Fix the fix. Index: php4/ext/ftp/ftp.c diff -u php4/ext/ftp/ftp.c:1.27 php4/ext/ftp/ftp.c:1.28 --- php4/ext/ftp/ftp.c:1.27 Fri Oct 27 13:53:04 2000 +++ php4/ext/ftp/ftp.c Mon Oct 30 16:00:26 2000 @@ -28,7 +28,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ftp.c,v 1.27 2000/10/27 20:53:04 sniper Exp $ */ +/* $Id: ftp.c,v 1.28 2000/10/31 00:00:26 sniper Exp $ */ #include "php.h" @@ -1204,7 +1204,7 @@ 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; }

« previous php.cvs (#2365) next »