com php-src: improve fix for Bug #69545: ext/ftp/ftp.c

From: Date: Mon, 01 Jun 2015 08:49:19 +0000
Subject: com php-src: improve fix for Bug #69545: ext/ftp/ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87036@lists.php.net to get a copy of this message
Commit: 8b7149636a9a3fb344ff7a970ef13c5a672fa08a Author: Stanislav Malyshev <stas@php.net> Sun, 31 May 2015 17:23:06 -0700 Committer: Ferenc Kovacs <tyrael@php.net> Mon, 1 Jun 2015 10:49:19 +0200 Parents: 5845f309b7e762b85a8185a4483719c2e3b044ec Branches: PHP-5.6.10 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8b7149636a9a3fb344ff7a970ef13c5a672fa08a Log: improve fix for Bug #69545 Bugs: https://bugs.php.net/69545 Changed paths: M ext/ftp/ftp.c Diff: diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 4e1b072..d40e964 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1663,8 +1663,6 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC) for (ptr = data->buf; rcvd; rcvd--, ptr++) { if (*ptr == '\n' && lastch == '\r') { lines++; - } else { - size++; } lastch = *ptr; }

« previous php.cvs (#87036) next »