trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] 02/02: HostDB code cleanup
Date Fri, 08 Jun 2018 17:24:22 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit bb85b9cfa6551231688a19a5fb89df67e9989e0f
Author: Bryan Call <bcall@apache.org>
AuthorDate: Wed Jun 6 15:02:01 2018 -0700

    HostDB code cleanup
    
    (cherry picked from commit 3570fdf04d4ce89d4b21e784e1981cbb5c09f7b1)
---
 iocore/hostdb/HostDB.cc | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/iocore/hostdb/HostDB.cc b/iocore/hostdb/HostDB.cc
index 237208e..2726e7c 100644
--- a/iocore/hostdb/HostDB.cc
+++ b/iocore/hostdb/HostDB.cc
@@ -21,25 +21,17 @@
   limitations under the License.
  */
 
-#define _HOSTDB_CC_
-
 #include "P_HostDB.h"
 #include "P_RefCountCacheSerializer.h"
 #include "ts/I_Layout.h"
 #include "Show.h"
 #include "ts/Tokenizer.h"
+#include "ts/ink_apidefs.h"
 
 #include <utility>
 #include <vector>
 #include <algorithm>
 
-// dxu: turn off all Diags.h 's function.
-//#define Debug
-//#define Warning
-//#define Note
-
-#include "ts/ink_apidefs.h"
-
 HostDBProcessor hostDBProcessor;
 int HostDBProcessor::hostdb_strict_round_robin = 0;
 int HostDBProcessor::hostdb_timed_round_robin  = 0;

-- 
To stop receiving notification emails like this one, please contact
bcall@apache.org.

Mime
View raw message