You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2010/02/22 23:01:04 UTC

svn commit: r915084 - /tomcat/jk/trunk/native/common/jk_ajp_common.c

Author: rjung
Date: Mon Feb 22 22:01:04 2010
New Revision: 915084

URL: http://svn.apache.org/viewvc?rev=915084&view=rev
Log:
Fix indentation, remove trailing spaces.
No functional change.

Modified:
    tomcat/jk/trunk/native/common/jk_ajp_common.c

Modified: tomcat/jk/trunk/native/common/jk_ajp_common.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_ajp_common.c?rev=915084&r1=915083&r2=915084&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_ajp_common.c (original)
+++ tomcat/jk/trunk/native/common/jk_ajp_common.c Mon Feb 22 22:01:04 2010
@@ -1077,7 +1077,7 @@
             if (aw->ep_cache[i] && IS_VALID_SOCKET(aw->ep_cache[i]->sd)) {
                 int sd = aw->ep_cache[i]->sd;
                 aw->ep_cache[i]->sd = JK_INVALID_SOCKET;
-                aw->ep_cache[i]->addr_sequence = aw->addr_sequence;                
+                aw->ep_cache[i]->addr_sequence = aw->addr_sequence;
                 jk_shutdown_socket(sd, l);
             }
         }
@@ -1727,7 +1727,7 @@
             if (JK_IS_DEBUG_LEVEL(l))
                 jk_log(l, JK_LOG_DEBUG,
                        "(%s) sending %d bytes of request body",
-                        ae->worker->name, len);                
+                        ae->worker->name, len);
 
             s->content_read = (jk_uint64_t)len;
             rc = ajp_connection_tcp_send_message(ae, op->post, l);
@@ -1769,12 +1769,12 @@
         /* We have just send a request but received something
          * that probably originates from buffered response.
          */
-         if (JK_IS_DEBUG_LEVEL(l)) {
-             jk_log(l, JK_LOG_DEBUG,
-                    "Unexpected AJP13_SEND_BODY_CHUNK");
-         }
-         JK_TRACE_EXIT(l);
-         return JK_AJP13_ERROR;
+        if (JK_IS_DEBUG_LEVEL(l)) {
+            jk_log(l, JK_LOG_DEBUG,
+                   "Unexpected AJP13_SEND_BODY_CHUNK");
+        }
+        JK_TRACE_EXIT(l);
+        return JK_AJP13_ERROR;
     }
     switch (code) {
     case JK_AJP13_SEND_HEADERS:
@@ -1785,9 +1785,9 @@
                 /* Do not send anything to the client.
                  * Backend already send us the headers.
                  */
-                 if (JK_IS_DEBUG_LEVEL(l)) {
-                     jk_log(l, JK_LOG_DEBUG,
-                            "Already received AJP13_SEND HEADERS");
+                if (JK_IS_DEBUG_LEVEL(l)) {
+                    jk_log(l, JK_LOG_DEBUG,
+                           "Already received AJP13_SEND HEADERS");
                 }
                 JK_TRACE_EXIT(l);
                 return JK_AJP13_ERROR;
@@ -3248,4 +3248,3 @@
     JK_TRACE_EXIT(l);
     return JK_FALSE;
 }
-



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org