Commit a1a68b2c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1573] indentation and brace position fixes

parent 0abbd388
......@@ -251,7 +251,8 @@ Query::addDS(ZoneFinder& finder, const Name& dname) {
finder.find(dname, RRType::DS(), dnssec_opt_);
if (ds_result.code == ZoneFinder::SUCCESS) {
response_.addRRset(Message::SECTION_AUTHORITY,
boost::const_pointer_cast<RRset>(ds_result.rrset), dnssec_);
boost::const_pointer_cast<RRset>(ds_result.rrset),
dnssec_);
} else if (ds_result.code == ZoneFinder::NXRRSET) {
addNXRRsetDenial(finder, ds_result);
} else {
......@@ -262,7 +263,8 @@ Query::addDS(ZoneFinder& finder, const Name& dname) {
void
Query::addNXRRsetDenial(ZoneFinder& finder,
const ZoneFinder::FindResult& db_result) {
const ZoneFinder::FindResult& db_result)
{
if (db_result.isNSECSigned() && db_result.rrset) {
response_.addRRset(Message::SECTION_AUTHORITY,
boost::const_pointer_cast<RRset>(
......
......@@ -329,13 +329,13 @@ private:
rrset->getType() == RRType::NS()) {
delegation_rrset_ = rrset;
} else if (rrset->getName() == signed_delegation_name_ &&
rrset->getType() == RRType::NS()) {
rrset->getType() == RRType::NS()) {
signed_delegation_rrset_ = rrset;
} else if (rrset->getName() == bad_signed_delegation_name_ &&
rrset->getType() == RRType::NS()) {
rrset->getType() == RRType::NS()) {
bad_signed_delegation_rrset_ = rrset;
} else if (rrset->getName() == unsigned_delegation_name_ &&
rrset->getType() == RRType::NS()) {
rrset->getType() == RRType::NS()) {
unsigned_delegation_rrset_ = rrset;
} else if (rrset->getName() == signed_delegation_name_ &&
rrset->getType() == RRType::DS()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment