BIND 10 trac2138, updated. c286d6ae6a08691226122bee5cf5ce86aeac723e [2138] editorial: removed redundant spaces
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Aug 21 16:49:28 UTC 2012
The branch, trac2138 has been updated
via c286d6ae6a08691226122bee5cf5ce86aeac723e (commit)
via 72c5c183815239f785725100600a50cca9fbfc93 (commit)
via 63f01fe3580fe529b48504c9d8ae5b34abfe3564 (commit)
from af5177603e253e05a4ca024e7cca4d33176c30b7 (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 c286d6ae6a08691226122bee5cf5ce86aeac723e
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Aug 21 09:49:01 2012 -0700
[2138] editorial: removed redundant spaces
commit 72c5c183815239f785725100600a50cca9fbfc93
Merge: 63f01fe af51776
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Aug 21 09:46:50 2012 -0700
[2138] updates the latest branch with fixing conflict with my local changes.
commit 63f01fe3580fe529b48504c9d8ae5b34abfe3564
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Aug 20 14:31:45 2012 -0700
[2138] style fixes: folded long lines, and adjusted brace poitns if necessary.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/command.cc | 6 ++++--
src/bin/auth/statistics.cc | 2 +-
src/bin/auth/tests/command_unittest.cc | 3 +--
3 files changed, 6 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/command.cc b/src/bin/auth/command.cc
index 656ac6c..76de6c2 100644
--- a/src/bin/auth/command.cc
+++ b/src/bin/auth/command.cc
@@ -110,7 +110,8 @@ public:
class ShutdownCommand : public AuthCommand {
public:
virtual ConstElementPtr exec(AuthSrv& server,
- isc::data::ConstElementPtr args) {
+ isc::data::ConstElementPtr args)
+ {
// Is the pid argument provided?
if (args && args->contains("pid")) {
// If it is, we check it is the same as our PID
@@ -167,7 +168,8 @@ public:
class LoadZoneCommand : public AuthCommand {
public:
virtual ConstElementPtr exec(AuthSrv& server,
- isc::data::ConstElementPtr args) {
+ isc::data::ConstElementPtr args)
+ {
if (args == NULL) {
isc_throw(AuthCommandError, "Null argument");
}
diff --git a/src/bin/auth/statistics.cc b/src/bin/auth/statistics.cc
index 20efea4..82d41af 100644
--- a/src/bin/auth/statistics.cc
+++ b/src/bin/auth/statistics.cc
@@ -135,7 +135,7 @@ AuthCountersImpl::getStatistics() const {
<< counter;
}
}
- statistics_string << "}";
+ statistics_string << "}";
isc::data::ElementPtr statistics_element =
isc::data::Element::fromJSON(statistics_string);
diff --git a/src/bin/auth/tests/command_unittest.cc b/src/bin/auth/tests/command_unittest.cc
index ffc1d80..3daa1cb 100644
--- a/src/bin/auth/tests/command_unittest.cc
+++ b/src/bin/auth/tests/command_unittest.cc
@@ -416,8 +416,7 @@ TEST_F(AuthCommandTest, loadZoneInvalidParams) {
}
TEST_F(AuthCommandTest, getStats) {
- result_ = execAuthServerCommand(server_, "getstats",
- ConstElementPtr());
+ result_ = execAuthServerCommand(server_, "getstats", ConstElementPtr());
parseAnswer(rcode_, result_);
// Just check some message has been received. Detailed tests specific to
// statistics are done in its own tests.
More information about the bind10-changes
mailing list