Re: cvs: php4(PHP_4_0_7) /ext/ftp ftp.c

From: Date: Mon, 18 Mar 2002 22:49:02 +0000
Subject: Re: cvs: php4(PHP_4_0_7) /ext/ftp ftp.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10387@lists.php.net to get a copy of this message
On Mon, 18 Mar 2002, Vlad Krupin wrote: > vlad Mon Mar 18 17:38:21 2002 EDT > > Modified files: (Branch: PHP_4_0_7) > /php4/ext/ftp ftp.c > Log: > MFH (rev. 1.49) This is the wrong branch, you'll need the PHP_4_2_0 one :) Derick > > > Index: php4/ext/ftp/ftp.c > diff -u php4/ext/ftp/ftp.c:1.36 php4/ext/ftp/ftp.c:1.36.2.1 > --- php4/ext/ftp/ftp.c:1.36 Sat Aug 11 12:38:27 2001 > +++ php4/ext/ftp/ftp.c Mon Mar 18 17:38:20 2002 > @@ -16,7 +16,7 @@ > +----------------------------------------------------------------------+ > */ > > -/* $Id: ftp.c,v 1.36 2001/08/11 16:38:27 zeev Exp $ */ > +/* $Id: ftp.c,v 1.36.2.1 2002/03/18 22:38:20 vlad Exp $ */ > > #include "php.h" > > @@ -653,6 +653,8 @@ > if (ftp == NULL) > return -1; > > + if (!ftp_type(ftp, FTPTYPE_IMAGE)) > + return -1; > if (!ftp_putcmd(ftp, "SIZE", path)) > return -1; > if (!ftp_getresp(ftp) || ftp->resp != 213) > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ----------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net -----------------------------------------------------------------------

« previous php.cvs (#10387) next »