[haiku-commits] r42008 - haiku/trunk/src/kits/network/libnetapi

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 7 Jun 2011 18:20:18 +0200 (CEST)

Author: bonefish
Date: 2011-06-07 18:20:18 +0200 (Tue, 07 Jun 2011)
New Revision: 42008
Changeset: https://dev.haiku-os.org/changeset/42008

Modified:
   haiku/trunk/src/kits/network/libnetapi/NetEndpoint.cpp
Log:
Automatic whitespace cleanup.


Modified: haiku/trunk/src/kits/network/libnetapi/NetEndpoint.cpp
===================================================================
--- haiku/trunk/src/kits/network/libnetapi/NetEndpoint.cpp      2011-06-07 
15:06:24 UTC (rev 42007)
+++ haiku/trunk/src/kits/network/libnetapi/NetEndpoint.cpp      2011-06-07 
16:20:18 UTC (rev 42008)
@@ -58,24 +58,24 @@
        in_addr addr, peer;
        unsigned short addrPort = 0, peerPort = 0;
 
-       fStatus = archive->FindInt32("_BNetEndpoint_addr_addr", 
+       fStatus = archive->FindInt32("_BNetEndpoint_addr_addr",
                (int32 *)&addr.s_addr);
        if (fStatus == B_OK) {
-               fStatus = archive->FindInt16("_BNetEndpoint_addr_port", 
+               fStatus = archive->FindInt16("_BNetEndpoint_addr_port",
                        (int16 *)&addrPort);
                if (fStatus == B_OK)
                        fStatus = fAddr.SetTo(addr, addrPort);
        }
 
-       fStatus = archive->FindInt32("_BNetEndpoint_peer_addr", 
+       fStatus = archive->FindInt32("_BNetEndpoint_peer_addr",
                (int32 *)&peer.s_addr);
        if (fStatus == B_OK) {
-               fStatus = archive->FindInt16("_BNetEndpoint_peer_port", 
+               fStatus = archive->FindInt16("_BNetEndpoint_peer_port",
                        (int16 *)&peerPort);
                if (fStatus == B_OK)
                        fStatus = fPeer.SetTo(peer, peerPort);
        }
-       
+
        fStatus = archive->FindInt64("_BNetEndpoint_timeout", (int64 
*)&fTimeout);
        if (fStatus == B_OK)
                fStatus = archive->FindInt32("_BNetEndpoint_proto", (int32 
*)&fType);
@@ -110,7 +110,7 @@
 {
        if (this == &endpoint)
                return *this;
-       
+
        Close();
 
        fStatus = endpoint.fStatus;
@@ -455,7 +455,7 @@
 
 bool
 BNetEndpoint::IsDataPending(bigtime_t timeout)
-{      
+{
        struct timeval tv;
        fd_set fds;
 
@@ -609,13 +609,13 @@
 }
 
 
-const BNetAddress& BNetEndpoint::LocalAddr() 
+const BNetAddress& BNetEndpoint::LocalAddr()
 {
        return const_cast<const BNetEndpoint*>(this)->LocalAddr();
 }
 
 
-const BNetAddress& BNetEndpoint::RemoteAddr() 
+const BNetAddress& BNetEndpoint::RemoteAddr()
 {
        return const_cast<const BNetEndpoint*>(this)->RemoteAddr();
 }


Other related posts:

  • » [haiku-commits] r42008 - haiku/trunk/src/kits/network/libnetapi - ingo_weinhold