From: Otto Date: Fri, 5 Nov 2021 12:47:23 +0000 (+0100) Subject: Reformat X-Git-Tag: rec-4.6.0-beta1~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10865%2Fhead;p=thirdparty%2Fpdns.git Reformat --- diff --git a/pdns/ws-recursor.cc b/pdns/ws-recursor.cc index c0845ea6dc..84f6c26cbd 100644 --- a/pdns/ws-recursor.cc +++ b/pdns/ws-recursor.cc @@ -1149,7 +1149,8 @@ RecursorWebServer::RecursorWebServer(FDMultiplexer* fdm) d_ws->bind(); // legacy dispatch - d_ws->registerApiHandler("/jsonstat", [this](HttpRequest* req, HttpResponse* resp){jsonstat(req, resp);}, true); + d_ws->registerApiHandler( + "/jsonstat", [this](HttpRequest* req, HttpResponse* resp) { jsonstat(req, resp); }, true); d_ws->registerApiHandler("/api/v1/servers/localhost/cache/flush", apiServerCacheFlush); d_ws->registerApiHandler("/api/v1/servers/localhost/config/allow-from", apiServerConfigAllowFrom); d_ws->registerApiHandler("/api/v1/servers/localhost/config", apiServerConfig);