]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Some formatting of pdnsutil.cc 14409/head
authorFred Morcos <fred.morcos@open-xchange.com>
Tue, 2 Jul 2024 20:21:28 +0000 (22:21 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 3 Jul 2024 08:47:02 +0000 (10:47 +0200)
pdns/pdnsutil.cc

index c02b295d7aac3769e373062bb48d43f0ad2db940..aa890d9dc2b8b41713762726747b716b2d92b30c 100644 (file)
@@ -4231,16 +4231,15 @@ try
   }
   return 0;
 }
-catch(PDNSException& ae) {
-  cerr<<"Error: "<<ae.reason<<endl;
+catch (PDNSException& ae) {
+  cerr << "Error: " << ae.reason << endl;
   return 1;
 }
-catch(std::exception& e) {
-  cerr<<"Error: "<<e.what()<<endl;
+catch (std::exception& e) {
+  cerr << "Error: " << e.what() << endl;
   return 1;
 }
-catch(...)
-{
-  cerr<<"Caught an unknown exception"<<endl;
+catch (...) {
+  cerr << "Caught an unknown exception" << endl;
   return 1;
 }