blob: 1d05bfb01ee0d0a981326394918fdac58f031989 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.2 2011/11/23 23:32:17 joerg Exp $
--- pdns/tcpreceiver.cc.orig 2007-04-21 13:56:36.000000000 +0000
+++ pdns/tcpreceiver.cc
@@ -322,7 +322,7 @@ void *TCPNameserver::doConnection(void *
s_P = 0; // on next call, backend will be recycled
L<<Logger::Error<<"TCP nameserver had error, cycling backend: "<<ae.reason<<endl;
}
- catch(exception &e) {
+ catch(std::exception &e) {
L<<Logger::Error<<"TCP Connection Thread died because of STL error: "<<e.what()<<endl;
}
catch( ... )
|