zeev            Mon Dec 18 12:32:08 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/main       SAPI.c 
  Log:
  Whitespace
  
  
http://cvs.php.net/viewvc.cgi/php-src/main/SAPI.c?r1=1.202.2.7.2.2&r2=1.202.2.7.2.3&diff_format=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.202.2.7.2.2 php-src/main/SAPI.c:1.202.2.7.2.3
--- php-src/main/SAPI.c:1.202.2.7.2.2   Tue Sep 19 20:33:11 2006
+++ php-src/main/SAPI.c Mon Dec 18 12:32:08 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: SAPI.c,v 1.202.2.7.2.2 2006/09/19 20:33:11 dmitry Exp $ */
+/* $Id: SAPI.c,v 1.202.2.7.2.3 2006/12/18 12:32:08 zeev Exp $ */
 
 #include <ctype.h>
 #include <sys/stat.h>
@@ -540,26 +540,26 @@
        }
 
        switch (op) {
-       case SAPI_HEADER_SET_STATUS:
-               sapi_update_response_code((long) arg TSRMLS_CC);
-               return SUCCESS;
+               case SAPI_HEADER_SET_STATUS:
+                       sapi_update_response_code((long) arg TSRMLS_CC);
+                       return SUCCESS;
+
+               case SAPI_HEADER_REPLACE:
+               case SAPI_HEADER_ADD: {
+                               sapi_header_line *p = arg;
+
+                               if (!p->line || !p->line_len) {
+                                       return FAILURE;
+                               }
+                               header_line = p->line;
+                               header_line_len = p->line_len;
+                               http_response_code = p->response_code;
+                               replace = (op == SAPI_HEADER_REPLACE);
+                               break;
+                       }
 
-       case SAPI_HEADER_REPLACE:
-       case SAPI_HEADER_ADD: {
-               sapi_header_line *p = arg;
-               
-               if (!p->line || !p->line_len) {
+               default:
                        return FAILURE;
-               }
-               header_line = p->line;
-               header_line_len = p->line_len;
-               http_response_code = p->response_code;
-               replace = (op == SAPI_HEADER_REPLACE);
-               break;
-               }
-       
-       default:
-               return FAILURE;
        }
 
        header_line = estrndup(header_line, header_line_len);

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

Reply via email to