From: Christian Herdtweck Date: Fri, 29 May 2015 08:54:51 +0000 (+0200) Subject: added missing counter increment in backup loop termination X-Git-Url: http://developer.intra2net.com/git/?p=pingcheck;a=commitdiff_plain;h=a176d17ae8516eaa3457526fdadcbb9f7641bd74 added missing counter increment in backup loop termination --- diff --git a/src/dns/dnscache.cpp b/src/dns/dnscache.cpp index d766f7a..7fab114 100644 --- a/src/dns/dnscache.cpp +++ b/src/dns/dnscache.cpp @@ -536,6 +536,7 @@ std::string DnsCache::get_cname_chain_str(const std::string &hostname) { current_host = current_cname.Host; temp << "-->" << current_host; + ++n_recursions; } } return temp.str();