trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1155221 - /trafficserver/traffic/trunk/iocore/net/UnixConnection.cc
Date Tue, 09 Aug 2011 06:08:31 GMT
Author: zym
Date: Tue Aug  9 06:08:31 2011
New Revision: 1155221

URL: http://svn.apache.org/viewvc?rev=1155221&view=rev
Log:
TS-909 code cleanup in iocore/net/UnixConnection.cc

Author: mohan_zl
Review: zym

Modified:
    trafficserver/traffic/trunk/iocore/net/UnixConnection.cc

Modified: trafficserver/traffic/trunk/iocore/net/UnixConnection.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/net/UnixConnection.cc?rev=1155221&r1=1155220&r2=1155221&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/net/UnixConnection.cc (original)
+++ trafficserver/traffic/trunk/iocore/net/UnixConnection.cc Tue Aug  9 06:08:31 2011
@@ -247,7 +247,7 @@ Connection::open(NetVCOptions const& opt
       // Round down until success
       int rbufsz = ROUNDUP(opt.socket_recv_bufsize, 1024);
       while (rbufsz && !socketManager.set_rcvbuf_size(fd, rbufsz))
-	rbufsz -= 1024;
+        rbufsz -= 1024;
       Debug("socket", "::open: recv_bufsize = %d of %d\n", rbufsz, opt.socket_recv_bufsize);
     }
   }
@@ -256,7 +256,7 @@ Connection::open(NetVCOptions const& opt
       // Round down until success
       int sbufsz = ROUNDUP(opt.socket_send_bufsize, 1024);
       while (sbufsz && !socketManager.set_sndbuf_size(fd, sbufsz))
-	sbufsz -= 1024;
+        sbufsz -= 1024;
       Debug("socket", "::open: send_bufsize = %d of %d\n", sbufsz, opt.socket_send_bufsize);
     }
   }



Mime
View raw message