BIND 10 trac1627, updated. 7efd7463b051d3dc8babb54d910e27ab471c3a49 [1627] fixed some style issues: untabify, position of '*', fold long lines.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Mar 26 22:35:48 UTC 2012
The branch, trac1627 has been updated
via 7efd7463b051d3dc8babb54d910e27ab471c3a49 (commit)
from 5ee8f9e7e10ea5579ae3c0a135e32a4e84f9afef (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 7efd7463b051d3dc8babb54d910e27ab471c3a49
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Mar 26 15:17:11 2012 -0700
[1627] fixed some style issues: untabify, position of '*', fold long lines.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/auth_config.cc | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_config.cc b/src/bin/auth/auth_config.cc
index 5e808c7..c6d8ecf 100644
--- a/src/bin/auth/auth_config.cc
+++ b/src/bin/auth/auth_config.cc
@@ -164,15 +164,16 @@ MemoryDatasourceConfig::build(ConstElementPtr config_value) {
<< origin->str());
}
- InMemoryZoneFinder *imzf = NULL;
- try {
- imzf = new InMemoryZoneFinder(rrclass_, Name(origin->stringValue()));
- } catch (const isc::dns::NameParserException& ex) {
- isc_throw(AuthConfigError, "unable to parse zone's origin: " <<
- ex.what());
- }
-
- boost::shared_ptr<InMemoryZoneFinder> zone_finder(imzf);
+ InMemoryZoneFinder* imzf = NULL;
+ try {
+ imzf = new InMemoryZoneFinder(rrclass_,
+ Name(origin->stringValue()));
+ } catch (const isc::dns::NameParserException& ex) {
+ isc_throw(AuthConfigError, "unable to parse zone's origin: " <<
+ ex.what());
+ }
+
+ boost::shared_ptr<InMemoryZoneFinder> zone_finder(imzf);
const result::Result result = memory_client_->addZone(zone_finder);
if (result == result::EXIST) {
isc_throw(AuthConfigError, "zone "<< origin->str()
More information about the bind10-changes
mailing list