You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2011/08/11 02:23:51 UTC
svn commit: r1156414 - in /trafficserver/traffic/trunk/iocore:
eventsystem/I_Continuation.h hostdb/HostDB.cc
Author: amc
Date: Thu Aug 11 00:23:50 2011
New Revision: 1156414
URL: http://svn.apache.org/viewvc?rev=1156414&view=rev
Log:
TS-908 cleanup
Modified:
trafficserver/traffic/trunk/iocore/eventsystem/I_Continuation.h
trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc
Modified: trafficserver/traffic/trunk/iocore/eventsystem/I_Continuation.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/eventsystem/I_Continuation.h?rev=1156414&r1=1156413&r2=1156414&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/eventsystem/I_Continuation.h (original)
+++ trafficserver/traffic/trunk/iocore/eventsystem/I_Continuation.h Thu Aug 11 00:23:50 2011
@@ -119,10 +119,6 @@ public:
*/
ProxyMutexPtr mutex;
- /** Thread ID of thread currently executing this continuation.
- Set to zero when not being executed.
- */
- uint32_t in_thread;
/**
Link to other continuations.
@@ -198,8 +194,7 @@ Continuation::Continuation(ProxyMutex *
#ifdef DEBUG
handler_name(NULL),
#endif
- mutex(amutex),
- in_thread(0)
+ mutex(amutex)
{ }
#endif /*_Continuation_h_*/
Modified: trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc?rev=1156414&r1=1156413&r2=1156414&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc (original)
+++ trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc Thu Aug 11 00:23:50 2011
@@ -90,7 +90,7 @@ is_addr_valid(
) {
return
(AF_INET == af && INADDR_ANY != *(reinterpret_cast<in_addr_t*>(ptr)))
- || (AF_INET6 == af && !IN6_IS_ADDR_UNSPECIFIED(ptr))
+ || (AF_INET6 == af && !IN6_IS_ADDR_UNSPECIFIED(reinterpret_cast<in6_addr*>(ptr)))
;
}