From 91832178c2587c315c0316673e77b178b96ab791 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Sat, 3 Jan 2015 21:41:02 +0100 Subject: [PATCH] remove some dead code from webserver --- pdns/webserver.cc | 5 ----- pdns/webserver.hh | 2 -- 2 files changed, 7 deletions(-) diff --git a/pdns/webserver.cc b/pdns/webserver.cc index 0de7a4e93..6b8d51f60 100644 --- a/pdns/webserver.cc +++ b/pdns/webserver.cc @@ -84,11 +84,6 @@ void HttpResponse::setBody(rapidjson::Document& document) this->body = makeStringFromDocument(document); } -int WebServer::B64Decode(const std::string& strInput, std::string& strOutput) -{ - return ::B64Decode(strInput, strOutput); -} - static void bareHandlerWrapper(WebServer::HandlerFunction handler, YaHTTP::Request* req, YaHTTP::Response* resp) { // wrapper to convert from YaHTTP::* to our subclasses diff --git a/pdns/webserver.hh b/pdns/webserver.hh index bac4a8854..cbfdc1f8a 100644 --- a/pdns/webserver.hh +++ b/pdns/webserver.hh @@ -143,8 +143,6 @@ public: void registerWebHandler(const string& url, HandlerFunction handler); protected: - static char B64Decode1(char cInChar); - static int B64Decode(const std::string& strInput, std::string& strOutput); void registerBareHandler(const string& url, HandlerFunction handler); virtual Server* createServer() { -- 2.40.0