summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-10-24 14:01:39 +0000
committerDerick Rethans <derick@php.net>2002-10-24 14:01:39 +0000
commit1f9f9244eb807eb5f6e1e3017d80656b8203ed55 (patch)
tree72505de86817c6548ea904c7aafaa94ece1ce255 /sapi/cli/php_cli.c
parent1e3e07173bdc61514eadf5d920e0d769cd29e4e1 (diff)
downloadphp-git-1f9f9244eb807eb5f6e1e3017d80656b8203ed55.tar.gz
- whitespace
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 8e1ecc9b4c..25382faa69 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -109,7 +109,9 @@ static inline size_t sapi_cli_single_write(const char *str, uint str_length)
long ret;
ret = write(STDOUT_FILENO, str, str_length);
- if (ret <= 0) return 0;
+ if (ret <= 0) {
+ return 0;
+ }
return ret;
#else
size_t ret;
@@ -748,8 +750,9 @@ int main(int argc, char *argv[])
} zend_end_try();
out:
- if (module_started)
+ if (module_started) {
php_module_shutdown(TSRMLS_C);
+ }
sapi_shutdown();
#ifdef ZTS
tsrm_shutdown();