diff options
author | Zeev Suraski <zeev@php.net> | 2000-09-03 15:56:54 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-09-03 15:56:54 +0000 |
commit | 48f13455bebdc96cc5958b9a9cab5ecabce8318d (patch) | |
tree | 349d5673f60e9c8676806b54f9188a63ee781c96 | |
parent | 7089540ec700365efadd934a286f48bf0dc3b52d (diff) | |
download | php-git-48f13455bebdc96cc5958b9a9cab5ecabce8318d.tar.gz |
Fix init bug
-rw-r--r-- | ext/standard/output.c | 2 | ||||
-rw-r--r-- | main/output.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/output.c b/ext/standard/output.c index 248c4a16cb..fa49c05035 100644 --- a/ext/standard/output.c +++ b/ext/standard/output.c @@ -50,7 +50,6 @@ static void php_output_init_globals(OLS_D) OG(implicit_flush) = 0; OG(output_start_filename) = NULL; OG(output_start_lineno) = 0; - OG(lock) = 0; } @@ -73,6 +72,7 @@ PHPAPI void php_output_startup() OG(php_body_write) = php_ub_body_write; OG(php_header_write) = sapi_module.ub_write; OG(nesting_level) = 0; + OG(lock) = 0; } PHPAPI int php_body_write(const char *str, uint str_length) diff --git a/main/output.c b/main/output.c index 248c4a16cb..fa49c05035 100644 --- a/main/output.c +++ b/main/output.c @@ -50,7 +50,6 @@ static void php_output_init_globals(OLS_D) OG(implicit_flush) = 0; OG(output_start_filename) = NULL; OG(output_start_lineno) = 0; - OG(lock) = 0; } @@ -73,6 +72,7 @@ PHPAPI void php_output_startup() OG(php_body_write) = php_ub_body_write; OG(php_header_write) = sapi_module.ub_write; OG(nesting_level) = 0; + OG(lock) = 0; } PHPAPI int php_body_write(const char *str, uint str_length) |