summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
authorKristian Köhntopp <kk@php.net>2000-06-26 14:55:38 +0000
committerKristian Köhntopp <kk@php.net>2000-06-26 14:55:38 +0000
commit2c32d120b2daa05b6b7d15eef6670a52f316b657 (patch)
treeeb45e42df84f9ba8a28e27485b337f8cb93cbc5b /ext/standard/info.c
parentc54fa54e362c2a0c07ce6218b46e7e1955380926 (diff)
downloadphp-git-2c32d120b2daa05b6b7d15eef6670a52f316b657.tar.gz
Corrected a syntax error: Macro requires braces.
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 0e59ed6990..e2295b8534 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -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;
+ }
}
/* }}} */