Browse Source

[1584] trivial editorial fixes to meet the coding guidelines.

JINMEI Tatuya 13 years ago
parent
commit
45c762f1a1
2 changed files with 5 additions and 4 deletions
  1. 2 2
      src/bin/auth/query.cc
  2. 3 2
      src/bin/auth/query.h

+ 2 - 2
src/bin/auth/query.cc

@@ -169,7 +169,7 @@ Query::addNXDOMAINProof(ZoneFinder& finder, ConstRRsetPtr nsec) {
 
 void
 Query::addWildcardProof(ZoneFinder& finder,
-		const ZoneFinder::FindResult& db_result) 
+                        const ZoneFinder::FindResult& db_result)
 {
 	// The query name shouldn't exist in the zone if there were no wildcard
 	// substitution.  Confirm that by specifying NO_WILDCARD.  It should result
@@ -195,7 +195,7 @@ Query::addWildcardProof(ZoneFinder& finder,
 		response_.addRRset(Message::SECTION_AUTHORITY,
 				boost::const_pointer_cast<AbstractRRset>(
 					NSEC3Result.next_proof), dnssec_);
-		const Name wname = 
+		const Name wname =
 			qname_.split(qname_.getLabelCount() - NSEC3Result.closest_labels - 1);
 		const ZoneFinder::FindNSEC3Result wresult(finder.findNSEC3(wname,
 					false));

+ 3 - 2
src/bin/auth/query.h

@@ -106,8 +106,9 @@ private:
     /// Add NSEC RRs that prove a wildcard answer is the best one.
     ///
     /// This corresponds to Section 3.1.3.3 of RFC 4035.
-    void addWildcardProof(isc::datasrc::ZoneFinder& finder,
-			const isc::datasrc::ZoneFinder::FindResult& dbResult);
+    void addWildcardProof(
+        isc::datasrc::ZoneFinder& finder,
+        const isc::datasrc::ZoneFinder::FindResult& dbResult);
 
     /// \brief Adds one NSEC RR proved no matched QNAME,one NSEC RR proved no
     /// matched <QNAME,QTYPE> through wildcard extension.