]> granicus.if.org Git - pdns/commitdiff
Remove dead code (thanks @zeha)
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 12 Jan 2016 15:49:45 +0000 (16:49 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 12 Jan 2016 16:02:21 +0000 (17:02 +0100)
pdns/tcpreceiver.cc

index 9920f51603f09eac67a4017fd1e28238a8c9271b..a749379a629aed95c8af964cb2e6971fd620700a 100644 (file)
@@ -364,13 +364,6 @@ void *TCPNameserver::doConnection(void *data)
       sendPacket(reply, fd);
     }
   }
-  catch(DBException &e) {
-    Lock l(&s_plock);
-    delete s_P;
-    s_P = 0;
-
-    L<<Logger::Error<<"TCP Connection Thread unable to answer a question because of a backend error, cycling"<<endl;
-  }
   catch(PDNSException &ae) {
     Lock l(&s_plock);
     delete s_P;