From: Ruben Kerkhof Date: Sat, 14 Feb 2015 14:18:37 +0000 (+0100) Subject: Cleanup the log messages a bit X-Git-Tag: dnsdist-1.0.0-alpha1~286^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c057bfaa35ee5f60526711e5f96dbf1d5c7a1c7c;p=thirdparty%2Fpdns.git Cleanup the log messages a bit And fix a few typos while we're at it. --- diff --git a/modules/ldapbackend/ldapbackend.cc b/modules/ldapbackend/ldapbackend.cc index 137804f6b7..0eda8630b5 100644 --- a/modules/ldapbackend/ldapbackend.cc +++ b/modules/ldapbackend/ldapbackend.cc @@ -312,7 +312,7 @@ inline bool LdapBackend::prepare() m_ttl = (uint32_t) strtol( m_result["dNSTTL"][0].c_str(), &endptr, 10 ); if( *endptr != '\0' ) { - L << Logger::Warning << m_myname << " Invalid time to life for " << m_qname << ": " << m_result["dNSTTL"][0] << endl; + L << Logger::Warning << m_myname << " Invalid time to live for " << m_qname << ": " << m_result["dNSTTL"][0] << endl; m_ttl = m_default_ttl; } m_result.erase( "dNSTTL" ); diff --git a/modules/pipebackend/pipebackend.cc b/modules/pipebackend/pipebackend.cc index 3fb7dc9b1b..b8f68d764f 100644 --- a/modules/pipebackend/pipebackend.cc +++ b/modules/pipebackend/pipebackend.cc @@ -80,7 +80,7 @@ void CoWrapper::receive(string &line) return; } catch(PDNSException &ae) { - L<parts; stringtok(parts,line,"\t"); if(parts.empty()) { - L<send(query) == false || this->recv(answer) == false) { - L< tcpClientCounts_t; diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index aefce242de..4c0dc19a71 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -883,12 +883,12 @@ string RecursorControlParser::getAnswer(const string& question, RecursorControlP } catch(std::exception& e) { - L<