From c057bfaa35ee5f60526711e5f96dbf1d5c7a1c7c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 14 Feb 2015 15:18:37 +0100 Subject: [PATCH] Cleanup the log messages a bit And fix a few typos while we're at it. --- modules/ldapbackend/ldapbackend.cc | 2 +- modules/pipebackend/pipebackend.cc | 8 ++++---- modules/remotebackend/remotebackend.cc | 8 ++++---- pdns/dnsbackend.cc | 4 ++-- pdns/dynlistener.cc | 2 +- pdns/mastercommunicator.cc | 2 +- pdns/misc.cc | 2 +- pdns/nameserver.cc | 12 ++++++------ pdns/packethandler.cc | 2 +- pdns/pdns_recursor.cc | 4 ++-- pdns/rec_channel_rec.cc | 4 ++-- pdns/receiver.cc | 7 +++---- pdns/reczones.cc | 2 +- pdns/signingpipe.cc | 2 +- pdns/tcpreceiver.cc | 4 ++-- 15 files changed, 32 insertions(+), 33 deletions(-) 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<