[svn] commit: r4075 - in /branches/trac455/src/bin/auth: query.h tests/query_unittest.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Dec 29 12:48:40 UTC 2010
Author: vorner
Date: Wed Dec 29 12:48:39 2010
New Revision: 4075
Log:
Small style fixes
Modified:
branches/trac455/src/bin/auth/query.h
branches/trac455/src/bin/auth/tests/query_unittest.cc
Modified: branches/trac455/src/bin/auth/query.h
==============================================================================
--- branches/trac455/src/bin/auth/query.h (original)
+++ branches/trac455/src/bin/auth/query.h Wed Dec 29 12:48:39 2010
@@ -103,7 +103,9 @@
/// providing compatible behavior may have its own benefit, so this point
/// should be revisited later.
///
- /// This might throw BadZone or any of its specific subclasses.
+ /// This might throw BadZone or any of its specific subclasses, but that
+ /// shouldn't happen in real-life (as BadZone means wrong data, it should
+ /// have been rejected upon loading).
void process() const;
/// \short Bad zone data encountered.
@@ -115,7 +117,7 @@
struct BadZone : public isc::Exception {
BadZone(const char* file, size_t line, const char* what) :
Exception(file, line, what)
- { }
+ {}
};
/// \short Zone is missing its SOA record.
@@ -125,7 +127,7 @@
struct NoSOA : public BadZone {
NoSOA(const char* file, size_t line, const char* what) :
BadZone(file, line, what)
- { }
+ {}
};
private:
@@ -133,6 +135,7 @@
const isc::dns::Name& qname_;
const isc::dns::RRType& qtype_;
isc::dns::Message& response_;
+
/**
* \short Adds a SOA.
*
Modified: branches/trac455/src/bin/auth/tests/query_unittest.cc
==============================================================================
--- branches/trac455/src/bin/auth/tests/query_unittest.cc (original)
+++ branches/trac455/src/bin/auth/tests/query_unittest.cc Wed Dec 29 12:48:39 2010
@@ -17,7 +17,6 @@
#include <dns/rcode.h>
#include <dns/rrttl.h>
#include <dns/rrtype.h>
-#include <dns/rdataclass.h>
#include <datasrc/memory_datasrc.h>
More information about the bind10-changes
mailing list