]> granicus.if.org Git - php/commitdiff
ws fix
authorfoobar <sniper@php.net>
Thu, 9 May 2002 19:58:39 +0000 (19:58 +0000)
committerfoobar <sniper@php.net>
Thu, 9 May 2002 19:58:39 +0000 (19:58 +0000)
main/main.c

index 16b47b6ceae43f94274b1e778b89b40e2ee596d7..72c91096ac06817af9813e97c3d6465bb560a95c 100644 (file)
@@ -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);