]> granicus.if.org Git - pdns/commitdiff
get-remote-ring's "other" report should only have two items.
authorPatrick Cloke <clokep@patrick.cloke.us>
Sun, 23 Apr 2017 13:11:12 +0000 (09:11 -0400)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 Nov 2017 14:50:21 +0000 (15:50 +0100)
(cherry picked from commit d6dcfe36c0d2bb5563322ec90167b5bd4e9efb6b)

pdns/ws-recursor.cc

index 6dc2b710960e3af300f3ccb221cf09c8330550c2..393a74b7726fc7c95be3ed66a5e4733f67e9b9ce 100644 (file)
@@ -525,7 +525,7 @@ void RecursorWebServer::jsonstat(HttpRequest* req, HttpResponse *resp)
     }
     if(queries.size() != totIncluded) {
       entries.push_back(Json::array {
-        (int)(queries.size() - totIncluded), "", ""
+        (int)(queries.size() - totIncluded), ""
       });
     }