From: Jani Taskinen Date: Thu, 27 Sep 2007 16:00:20 +0000 (+0000) Subject: MFH: ws X-Git-Tag: php-5.2.5RC1~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b024bedbdbad9ab572f6b6605486e9b62383d99a;p=php MFH: ws --- diff --git a/Zend/zend_ini.c b/Zend/zend_ini.c index 05e60bd9a7..a7ce691f95 100644 --- a/Zend/zend_ini.c +++ b/Zend/zend_ini.c @@ -387,17 +387,17 @@ static void zend_ini_displayer_cb(zend_ini_entry *ini_entry, int type) /* {{{ */ char *display_string; uint display_string_length; - if (type==ZEND_INI_DISPLAY_ORIG && ini_entry->modified) { + if (type == ZEND_INI_DISPLAY_ORIG && ini_entry->modified) { if (ini_entry->orig_value) { display_string = ini_entry->orig_value; display_string_length = ini_entry->orig_value_length; } else { if (zend_uv.html_errors) { display_string = NO_VALUE_HTML; - display_string_length = sizeof(NO_VALUE_HTML)-1; + display_string_length = sizeof(NO_VALUE_HTML) - 1; } else { display_string = NO_VALUE_PLAINTEXT; - display_string_length = sizeof(NO_VALUE_PLAINTEXT)-1; + display_string_length = sizeof(NO_VALUE_PLAINTEXT) - 1; } } } else if (ini_entry->value && ini_entry->value[0]) { @@ -406,10 +406,10 @@ static void zend_ini_displayer_cb(zend_ini_entry *ini_entry, int type) /* {{{ */ } else { if (zend_uv.html_errors) { display_string = NO_VALUE_HTML; - display_string_length = sizeof(NO_VALUE_HTML)-1; + display_string_length = sizeof(NO_VALUE_HTML) - 1; } else { display_string = NO_VALUE_PLAINTEXT; - display_string_length = sizeof(NO_VALUE_PLAINTEXT)-1; + display_string_length = sizeof(NO_VALUE_PLAINTEXT) - 1; } } ZEND_WRITE(display_string, display_string_length);