You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by mt...@apache.org on 2010/05/22 22:39:06 UTC

svn commit: r947333 - /trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc

Author: mturk
Date: Sat May 22 20:39:05 2010
New Revision: 947333

URL: http://svn.apache.org/viewvc?rev=947333&view=rev
Log:
Fix copy/paste typo

Modified:
    trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc

Modified: trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc?rev=947333&r1=947332&r2=947333&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc (original)
+++ trafficserver/traffic/trunk/iocore/hostdb/HostDB.cc Sat May 22 20:39:05 2010
@@ -2268,7 +2268,7 @@ struct HostDBTestReverse:Continuation
 {
   int outstanding;
   int total;
-#if ATS_HAVE_LRAND48_R
+#if ATS_HAS_LRAND48_R
   struct drand48_data dr;
 #endif
 
@@ -2283,7 +2283,7 @@ struct HostDBTestReverse:Continuation
     while (outstanding < HOSTDB_TEST_MAX_OUTSTANDING && total < HOSTDB_TEST_LENGTH)
     {
       long l = 0;
-#if ATS_HAVE_LRAND48_R
+#if ATS_HAS_LRAND48_R
       lrand48_r(&dr, &l);
 #else
       l = lrand48();
@@ -2303,7 +2303,7 @@ struct HostDBTestReverse:Continuation
   }
 HostDBTestReverse():Continuation(new_ProxyMutex()), outstanding(0), total(0) {
     SET_HANDLER((HostDBTestReverseHandler) & HostDBTestReverse::mainEvent);
-#if ATS_HAVE_SRAND48_R
+#if ATS_HAS_SRAND48_R
     srand48_r(time(NULL), &dr);
 #else
     srand48(time(NULL));