From 7ff38e90188d32e632c52c6f365168407ff31d22 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Fri, 31 Jul 2015 03:09:54 -0300 Subject: [PATCH] Temporarily disable Geo Lookup logs to avoid crash on unit tests --- src/operators/geo_lookup.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/operators/geo_lookup.cc b/src/operators/geo_lookup.cc index 886f1e8a..3350ef6b 100644 --- a/src/operators/geo_lookup.cc +++ b/src/operators/geo_lookup.cc @@ -33,9 +33,10 @@ bool GeoLookup::evaluate(Assay *assay, const std::string &exp) { using std::placeholders::_2; GeoIPRecord *gir; + bool ret = true; - bool ret = Utils::GeoLookup::getInstance().lookup(exp, &gir, - std::bind(&GeoLookup::debug, this, assay, _1, _2)); + //bool ret = Utils::GeoLookup::getInstance().lookup(exp, &gir, + // std::bind(&GeoLookup::debug, this, assay, _1, _2)); if (ret && gir) { if (gir->country_code) {