moriyoshi               Mon Feb 10 14:45:35 2003 EDT

  Modified files:              
    /php4/main  SAPI.c 
  Log:
  Jani happification
  
  
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.166 php4/main/SAPI.c:1.167
--- php4/main/SAPI.c:1.166      Mon Feb 10 14:04:44 2003
+++ php4/main/SAPI.c    Mon Feb 10 14:45:34 2003
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: SAPI.c,v 1.166 2003/02/10 19:04:44 moriyoshi Exp $ */
+/* $Id: SAPI.c,v 1.167 2003/02/10 19:45:34 moriyoshi Exp $ */
 
 #include <ctype.h>
 #include <sys/stat.h>
@@ -151,7 +151,7 @@
        }
 
        /* now try to find an appropriate POST content handler */
-       if (zend_hash_find(&known_post_content_types, content_type, 
content_type_length+1, (void **) &post_entry)==SUCCESS) {
+       if (zend_hash_find(&known_post_content_types, content_type, 
+content_type_length+1, (void **) &post_entry) == SUCCESS) {
                /* found one, register it for use */
                SG(request_info).post_entry = post_entry;
                post_reader_func = post_entry->post_reader;
@@ -724,7 +724,7 @@
                        if (sapi_add_header(buf, len, 1)==FAILURE) {
                                return FAILURE;
                        }
-                       if (sapi_add_header("Vary: Accept-Encoding", sizeof("Vary: 
Accept-Encoding") - 1, 1)==FAILURE) {
+                       if (sapi_add_header("Vary: Accept-Encoding", sizeof("Vary: 
+Accept-Encoding") - 1, 1) == FAILURE) {
                                return FAILURE;                 
                        }
                }
@@ -790,7 +790,7 @@
        sapi_post_entry *p=post_entries;
 
        while (p->content_type) {
-               if (sapi_register_post_entry(p)==FAILURE) {
+               if (sapi_register_post_entry(p) == FAILURE) {
                        return FAILURE;
                }
                p++;
@@ -839,7 +839,7 @@
        if (sapi_module.get_stat) {
                return sapi_module.get_stat(TSRMLS_C);
        } else {
-               if (!SG(request_info).path_translated || 
(VCWD_STAT(SG(request_info).path_translated, &SG(global_stat))==-1)) {
+               if (!SG(request_info).path_translated || 
+(VCWD_STAT(SG(request_info).path_translated, &SG(global_stat)) == -1)) {
                        return NULL;
                }
                return &SG(global_stat);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to