summaryrefslogtreecommitdiff
path: root/ext/spl
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-03-09 02:54:36 +0000
committerMarcus Boerger <helly@php.net>2005-03-09 02:54:36 +0000
commitef17168fd18f5ff131c7932275c40b43e41428a4 (patch)
treefcc223c068477d6dd43134443bb66ad45037c53e /ext/spl
parent3efc383a0785f2ac3665e371e7c5c19ba004537b (diff)
downloadphp-git-ef17168fd18f5ff131c7932275c40b43e41428a4.tar.gz
No double line counting
Diffstat (limited to 'ext/spl')
-rwxr-xr-xext/spl/spl_directory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index 67c36a40e1..a2aa532c42 100755
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -1045,7 +1045,6 @@ SPL_METHOD(File, fgets)
if (spl_file_object_read(intern, 0 TSRMLS_CC) == FAILURE) {
RETURN_FALSE;
}
- intern->current_line_num++;
RETURN_STRINGL(intern->current_line, intern->current_line_len, 1);
} /* }}} */