]> granicus.if.org Git - php/commitdiff
Corrected a syntax error: Macro requires braces.
authorKristian Köhntopp <kk@php.net>
Mon, 26 Jun 2000 14:55:38 +0000 (14:55 +0000)
committerKristian Köhntopp <kk@php.net>
Mon, 26 Jun 2000 14:55:38 +0000 (14:55 +0000)
ext/standard/info.c

index 0e59ed6990319e6d077f323b51eeeb2b4fe9db19..e2295b8534f08a028c4dc3e15ee9860d54897d09 100644 (file)
@@ -642,10 +642,11 @@ PHP_FUNCTION(zend_logo_guid)
    Return the current SAPI module name */
 PHP_FUNCTION(php_sapi_name)
 {
-       if(sapi_module.name)
+       if (sapi_module.name) {
                RETURN_STRING(sapi_module.name,1);
-       else
+       } else {
                RETURN_FALSE;
+       }
 }
 
 /* }}} */