trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r959998 - in /trafficserver/traffic/trunk: configure.ac iocore/dns/DNS.cc
Date Fri, 02 Jul 2010 14:19:35 GMT
Author: amc
Date: Fri Jul  2 14:19:35 2010
New Revision: 959998

URL: http://svn.apache.org/viewvc?rev=959998&view=rev
Log:
Fix for TS-386

Modified:
    trafficserver/traffic/trunk/configure.ac
    trafficserver/traffic/trunk/iocore/dns/DNS.cc

Modified: trafficserver/traffic/trunk/configure.ac
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/configure.ac?rev=959998&r1=959997&r2=959998&view=diff
==============================================================================
--- trafficserver/traffic/trunk/configure.ac (original)
+++ trafficserver/traffic/trunk/configure.ac Fri Jul  2 14:19:35 2010
@@ -157,6 +157,7 @@ AC_ARG_ENABLE([diags],
    use_diags=1
   ]
 )
+AC_MSG_RESULT([$enable_diags])
 AC_SUBST(use_diags)
 
 #

Modified: trafficserver/traffic/trunk/iocore/dns/DNS.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/dns/DNS.cc?rev=959998&r1=959997&r2=959998&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/dns/DNS.cc (original)
+++ trafficserver/traffic/trunk/iocore/dns/DNS.cc Fri Jul  2 14:19:35 2010
@@ -1104,7 +1104,7 @@ dns_result(DNSHandler * h, DNSEntry * e,
           ent ? "SUCCESS" : "FAIL", e->qname, (ent != NULL ? ent->ent.h_name : "<not
found>"), retry);
   }
 
-  if (ent == NULL) {
+  if (ent) {
     DNS_INCREMENT_DYN_STAT(dns_lookup_success_stat);
   } else {
     DNS_INCREMENT_DYN_STAT(dns_lookup_fail_stat);



Mime
View raw message