You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2017/07/24 02:13:25 UTC

[trafficserver] 01/02: Fix weird whitespace in I_VConnection.h.

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 2f83a8195a05b54140333e1b117bc23746537ce8
Author: James Peach <jp...@apache.org>
AuthorDate: Sun Jul 23 17:20:38 2017 -0700

    Fix weird whitespace in I_VConnection.h.
---
 iocore/eventsystem/I_VConnection.h | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/iocore/eventsystem/I_VConnection.h b/iocore/eventsystem/I_VConnection.h
index 27c6d97..374302e 100644
--- a/iocore/eventsystem/I_VConnection.h
+++ b/iocore/eventsystem/I_VConnection.h
@@ -27,9 +27,9 @@
 
 #include "ts/ink_platform.h"
 #include "I_EventSystem.h"
+
 #if !defined(I_VIO_h)
 #error "include I_VIO.h"
----include I_VIO.h
 #endif
 
 //
@@ -110,18 +110,18 @@
 #define VC_EVENT_DONE CONTINUATION_DONE
 #define VC_EVENT_CONT CONTINUATION_CONT
 
-   //////////////////////////////////////////////////////////////////////////////
-   //
-   //      Support Data Structures
-   //
-   //////////////////////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////
+//
+//      Support Data Structures
+//
+//////////////////////////////////////////////////////////////////////////////
 
-   /** Used in VConnection::shutdown(). */
-   enum ShutdownHowTo_t {
-     IO_SHUTDOWN_READ = 0,
-     IO_SHUTDOWN_WRITE,
-     IO_SHUTDOWN_READWRITE
-   };
+/** Used in VConnection::shutdown(). */
+enum ShutdownHowTo_t {
+  IO_SHUTDOWN_READ = 0,
+  IO_SHUTDOWN_WRITE,
+  IO_SHUTDOWN_READWRITE,
+};
 
 /** Used in VConnection::get_data(). */
 enum TSApiDataType {
@@ -383,6 +383,7 @@ struct DummyVConnection : public VConnection {
                 "cannot use default implementation");
     return nullptr;
   }
+
   virtual VIO *
   do_io_read(Continuation * /* c ATS_UNUSED */, int64_t /* nbytes ATS_UNUSED */, MIOBuffer * /* buf ATS_UNUSED */)
   {
@@ -390,17 +391,20 @@ struct DummyVConnection : public VConnection {
                 "cannot use default implementation");
     return nullptr;
   }
+
   virtual void
   do_io_close(int /* alerrno ATS_UNUSED */)
   {
     ink_assert(!"VConnection::do_io_close -- "
                 "cannot use default implementation");
   }
+
   virtual void do_io_shutdown(ShutdownHowTo_t /* howto ATS_UNUSED */)
   {
     ink_assert(!"VConnection::do_io_shutdown -- "
                 "cannot use default implementation");
   }
+
   DummyVConnection(ProxyMutex *m) : VConnection(m) {}
 };
 

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.