cvs: php4 /ext/standard info.c
| From: | Kristian K�hntopp | Date: | Mon, 26 Jun 2000 14:55:38 +0000 |
| Subject: | cvs: php4 /ext/standard info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-476@lists.php.net to get a copy of this message | ||
kk Mon Jun 26 07:55:38 2000 EDT
Modified files:
/php4/ext/standard info.c
Log:
Corrected a syntax error: Macro requires braces.
Index: php4/ext/standard/info.c
diff -u php4/ext/standard/info.c:1.102 php4/ext/standard/info.c:1.103
--- php4/ext/standard/info.c:1.102 Mon Jun 26 07:43:37 2000
+++ php4/ext/standard/info.c Mon Jun 26 07:55:38 2000
@@ -642,10 +642,11 @@
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;
+ }
}
/* }}} */