Browse Source

[1198] cleanup: removed white spaces at EOLs

JINMEI Tatuya 13 years ago
parent
commit
614e0ed92f
3 changed files with 12 additions and 12 deletions
  1. 1 1
      src/lib/datasrc/database.cc
  2. 8 8
      src/lib/datasrc/database.h
  3. 3 3
      tools/reorder_message_file.py

+ 1 - 1
src/lib/datasrc/database.cc

@@ -617,7 +617,7 @@ DatabaseClient::Finder::findWildcardMatch(
                     result_status = WILDCARD_NXRRSET;
 
                     if (dnssec_data && nci != found.second.end()) {
-                        // User wants a proof the wildcard doesn't contain 
+                        // User wants a proof the wildcard doesn't contain
                         // the requested type.  However, we need to get the
                         // RRset in the name of the wildcard, not the
                         // constructed one, so we search the tree again.

+ 8 - 8
src/lib/datasrc/database.h

@@ -881,14 +881,14 @@ public:
                             const FindOptions options);
 
         /// \brief Find wildcard match
-        /// 
+        ///
         /// Having found that the name is not an empty non-terminal, this
         /// searches the zone for for wildcards that match the name.
-        /// 
+        ///
         /// It searches superdomains of the name from the zone origin down
         /// looking for a wildcard in the zone that matches the name.  There
         /// are several cases to consider:
-        /// 
+        ///
         /// - If the previous search for a delegation point has found that
         ///   there is an NS at the superdomain of the point at which the
         ///   wildcard is found, the delegation is returned.
@@ -897,18 +897,18 @@ public:
         ///   the indication of a match but no RRs relevant to the query).
         /// - If the match is to an non-empty non-terminal wildcard, a
         ///   wildcard NXRRSET is returned.
-        /// 
+        ///
         /// Note that if DNSSEC is enabled for the search and the zone uses
         /// NSEC for authenticated denial of existence, the search may
         /// return NSEC records.
-        /// 
+        ///
         /// \param name The name to find
         /// \param type The RRType to find
         /// \param options Options about how to search. See the documentation
         ///        for ZoneFinder::FindOptions.
         /// \param dresult Result of the search through the zone for a
         ///        delegation.
-        /// 
+        ///
         /// \return Tuple holding the result of the search - the RRset of the
         ///         wildcard records matching the name, together with a status
         ///         indicating the match type (e.g. CNAME at the wildcard
@@ -934,14 +934,14 @@ public:
         /// - Wildcard: is there a wildcard record in the zone that matches
         ///   requested name? If so, return it.  If not, return the relevant
         ///   NSEC records (if requested).
-        /// 
+        ///
         /// \param name The name to find
         /// \param type The RRType to find
         /// \param options Options about how to search. See the documentation
         ///        for ZoneFinder::FindOptions.
         /// \param dresult Result of the search through the zone for a
         ///        delegation.
-        /// 
+        ///
         /// \return Tuple holding the result of the search - the RRset of the
         ///         wildcard records matching the name, together with a status
         ///         indicating the match type (e.g. CNAME at the wildcard

+ 3 - 3
tools/reorder_message_file.py

@@ -94,7 +94,7 @@ def canonicalise_message_line(line):
     # Extract the first word (the message ID)
     words = line.split()
     message_line = "% " + words[0]
-    
+
     # ... and now the rest of the line
     if len(line) > len(words[0]):
         message_line = message_line + " " + line[len(words[0]):].lstrip()
@@ -129,14 +129,14 @@ def make_dict(lines):
             message_lines = [message_key]
         else:
             message_lines.append(lines[index])
-        
+
         index = index + 1
 
     dictionary[message_key] = removeEmptyLeadingTrailing(message_lines)
 
     return dictionary
 
-        
+
 def print_dict(dictionary):
     """
     Prints the dictionary with a blank line between entries.