]> granicus.if.org Git - pdns/commitdiff
remove some dead code from webserver
authorKees Monshouwer <mind04@monshouwer.org>
Sat, 3 Jan 2015 20:41:02 +0000 (21:41 +0100)
committermind04 <mind04@monshouwer.org>
Sat, 3 Jan 2015 20:41:02 +0000 (21:41 +0100)
pdns/webserver.cc
pdns/webserver.hh

index 0de7a4e931ecef1594d38e53dea3d7d9c51fa4c8..6b8d51f603637c9ee3359d1ecff384d5ad285193 100644 (file)
@@ -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
index bac4a88540aa2195aa5a587cae94e9ac02982586..cbfdc1f8a14cc671a4dc309872041864a824c666 100644 (file)
@@ -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() {