]> granicus.if.org Git - pdns/commitdiff
Fix some spelling errors found by lintian
authorChris Hofstaedtler <chris@hofstaedtler.name>
Sun, 21 Jul 2019 15:14:21 +0000 (17:14 +0200)
committerChris Hofstaedtler <chris@hofstaedtler.name>
Sun, 21 Jul 2019 15:14:21 +0000 (17:14 +0200)
pdns/dnsdist-lua-inspection.cc
pdns/dnsdistdist/doh.cc

index 3bed0722e99159fc166ea965a40a4b6157277277..2de56ff1c9c4b2315ed3bdb66433049a1096d127 100644 (file)
@@ -567,7 +567,7 @@ void setupLuaInspection()
 
       ret << "Frontends:" << endl;
       fmt = boost::format("%-3d %-20.20s %-20d %-20d %-25d %-20d %-20d %-20d %-20f %-20f");
-      ret << (fmt % "#" % "Address" % "Connnections" % "Died reading query" % "Died sending response" % "Gave up" % "Client timeouts" % "Downstream timeouts" % "Avg queries/conn" % "Avg duration") << endl;
+      ret << (fmt % "#" % "Address" % "Connections" % "Died reading query" % "Died sending response" % "Gave up" % "Client timeouts" % "Downstream timeouts" % "Avg queries/conn" % "Avg duration") << endl;
 
       size_t counter = 0;
       for(const auto& f : g_frontends) {
index 915ee83ca9e9a0a0ea0b9288586722443304c9fe..d667aad7729ecdd772358abcdf6cec5c303a18af 100644 (file)
@@ -583,7 +583,7 @@ void dnsdistclient(int qsock, int rsock)
       DOHUnit* du = nullptr;
       ssize_t got = recv(qsock, &du, sizeof(du), 0);
       if (got < 0) {
-        warnlog("Error receving internal DoH query: %s", strerror(errno));
+        warnlog("Error receiving internal DoH query: %s", strerror(errno));
         continue;
       }
       else if (static_cast<size_t>(got) < sizeof(du)) {