summaryrefslogtreecommitdiff
path: root/sapi/fastcgi/fastcgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/fastcgi/fastcgi.c')
-rw-r--r--sapi/fastcgi/fastcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/fastcgi/fastcgi.c b/sapi/fastcgi/fastcgi.c
index 23fd8c0aec..f9430943e1 100644
--- a/sapi/fastcgi/fastcgi.c
+++ b/sapi/fastcgi/fastcgi.c
@@ -237,7 +237,7 @@ static void fastcgi_module_main(TSRMLS_D)
while (c != 10 && c != 13) {
c = fgetc(file_handle.handle.fp); /* skip to end of line */
}
- CG(zend_lineno)++;
+ CG(zend_lineno) = -2;
} else {
rewind(file_handle.handle.fp);
}