]> granicus.if.org Git - php/commitdiff
MFH: ws
authorJani Taskinen <jani@php.net>
Thu, 27 Sep 2007 16:00:20 +0000 (16:00 +0000)
committerJani Taskinen <jani@php.net>
Thu, 27 Sep 2007 16:00:20 +0000 (16:00 +0000)
Zend/zend_ini.c

index 05e60bd9a7802e950519f37118e17f41923edb28..a7ce691f95fd34888fe2f767a0c2b91a0e700c25 100644 (file)
@@ -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);