]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/dnspcap.cc
Catch exceptions by-ref
[thirdparty/pdns.git] / pdns / dnspcap.cc
index a3d04fc9c14ef7bb1354af812c65e3d1d163b089..4104b539a759a720d547598724ba941e1d34826d 100644 (file)
@@ -142,7 +142,7 @@ try
     }
   }
 }
-catch(EofException) {
+catch(const EofException&) {
   return false;
 }