]> granicus.if.org Git - pdns/commitdiff
Stop useless copy of HttpException
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Sun, 18 Oct 2015 21:01:20 +0000 (23:01 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Sun, 18 Oct 2015 21:01:20 +0000 (23:01 +0200)
Fixes Coverity CID 1126083.

pdns/webserver.cc

index 48c1eb0a63cf3ec4ad041d6c7fcb9343d3a94496..6587c8cc7b35a8bc6420803b496689d833a30807 100644 (file)
@@ -236,7 +236,7 @@ HttpResponse WebServer::handleRequest(HttpRequest req)
       handler(&req, &resp);
       L<<Logger::Debug<<"HTTP: Result for \"" << req.url.path << "\": " << resp.status << ", body length: " << resp.body.size() << endl;
     }
-    catch(HttpException) {
+    catch(HttpException&) {
       throw;
     }
     catch(PDNSException &e) {