summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/main.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/main/main.c b/main/main.c
index 16b47b6cea..72c91096ac 100644
--- a/main/main.c
+++ b/main/main.c
@@ -505,8 +505,7 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
if (prepend_string) {
PUTS(prepend_string);
}
- php_printf(error_format, error_type_str, buffer,
- error_filename, error_lineno);
+ php_printf(error_format, error_type_str, buffer, error_filename, error_lineno);
if (PG(xmlrpc_errors)) {
free_alloca(error_format);
}
@@ -694,9 +693,8 @@ static void php_message_handler_for_zend(long message, void *data)
*/
static void sigchld_handler(int apar)
{
- while (waitpid(-1, NULL, WNOHANG) > 0)
- ;
- signal(SIGCHLD, sigchld_handler);
+ while (waitpid(-1, NULL, WNOHANG) > 0);
+ signal(SIGCHLD, sigchld_handler);
}
/* }}} */
#endif
@@ -897,7 +895,7 @@ int php_module_startup(sapi_module_struct *sf)
}
}
#else
- php_os=PHP_OS;
+ php_os=PHP_OS;
#endif
#ifdef ZTS
@@ -1022,7 +1020,7 @@ int php_module_startup(sapi_module_struct *sf)
theese are loaded after initialization of internal extensions
as extensions *might* rely on things from ext/standard
which is always an internal extension and to be initialized
- ahead of all other internals
+ ahead of all other internals
*/
php_ini_delayed_modules_startup(TSRMLS_C);