BIND 10 master, updated. 021f3f24fcd053a92b6ee305b984f1a6a550cebc cppcheck warning removed (exception in pkt6.cc caught by reference)

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 17 13:22:31 UTC 2011


The branch, master has been updated
       via  021f3f24fcd053a92b6ee305b984f1a6a550cebc (commit)
      from  937b5a6f47d4506193de9a3ed77adcef2cb1fd35 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 021f3f24fcd053a92b6ee305b984f1a6a550cebc
Author: Tomek Mrugalski <tomasz at isc.org>
Date:   Mon Oct 17 15:17:47 2011 +0200

    cppcheck warning removed (exception in pkt6.cc caught by reference)

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcp/pkt6.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/pkt6.cc b/src/lib/dhcp/pkt6.cc
index 65bd95e..1e4a553 100644
--- a/src/lib/dhcp/pkt6.cc
+++ b/src/lib/dhcp/pkt6.cc
@@ -120,7 +120,7 @@ Pkt6::packUDP() {
                       << length << ", actual len=" << offset);
         }
     }
-    catch (Exception e) {
+    catch (const Exception& e) {
         cout << "Packet build failed:" << e.what() << endl;
         return (false);
     }




More information about the bind10-changes mailing list