trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r884816 - /incubator/trafficserver/traffic/trunk/proxy/logging/LogSock.cc
Date Fri, 27 Nov 2009 10:16:20 GMT
Author: pquerna
Date: Fri Nov 27 10:16:20 2009
New Revision: 884816

URL: http://svn.apache.org/viewvc?rev=884816&view=rev
Log:
TS-2: Use socklen_t on all platforms.

Modified:
    incubator/trafficserver/traffic/trunk/proxy/logging/LogSock.cc

Modified: incubator/trafficserver/traffic/trunk/proxy/logging/LogSock.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/proxy/logging/LogSock.cc?rev=884816&r1=884815&r2=884816&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/proxy/logging/LogSock.cc (original)
+++ incubator/trafficserver/traffic/trunk/proxy/logging/LogSock.cc Fri Nov 27 10:16:20 2009
@@ -219,11 +219,7 @@
   Debug("log2-sock", "waiting to accept a new connection");
 
   connect_sd =::accept(ct[0].sd, (sockaddr *) & connect_addr,
-#if (HOST_OS == linux)
                        (socklen_t *) & size
-#else
-                       (int *) &size
-#endif
     );
   if (connect_sd < 0) {
     return LogSock::LS_ERROR_ACCEPT;



Mime
View raw message