diff options
author | Stanislav Malyshev <stas@php.net> | 2015-05-31 17:23:06 -0700 |
---|---|---|
committer | Julien Pauli <jpauli@php.net> | 2015-06-01 10:00:55 +0200 |
commit | 08d148c5c3997c6d8ffa69f7a472fff4b405d24a (patch) | |
tree | 2f3cbc5401805a3534d03ab710f2c115a47685ef | |
parent | e415ad9c6bc50f3a7cd5607a6b456498716b34ee (diff) | |
download | php-git-08d148c5c3997c6d8ffa69f7a472fff4b405d24a.tar.gz |
improve fix for Bug #69545
-rw-r--r-- | ext/ftp/ftp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 4e1b072246..d40e964b7f 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; } |