Parcourir la source

[trac117] editorial cleanups

JINMEI Tatuya il y a 14 ans
Parent
commit
634dd02746

+ 0 - 1
src/lib/dns/rdata/generic/detail/nsec_bitmap.cc

@@ -56,7 +56,6 @@ buildRRTypeBitmap(const char* const rrtype_name,
         if (i + len > total_len) {
         if (i + len > total_len) {
             isc_throw(DNSMessageFORMERR, rrtype_name <<
             isc_throw(DNSMessageFORMERR, rrtype_name <<
                       " RDATA from wire: bitmap length too large: " << len);
                       " RDATA from wire: bitmap length too large: " << len);
-                      
         }
         }
         // The last octet of the bitmap must be non zero.
         // The last octet of the bitmap must be non zero.
         if (typebits[i + len - 1] == 0) {
         if (typebits[i + len - 1] == 0) {

+ 15 - 17
src/lib/dns/rdata/generic/detail/nsec_bitmap.h

@@ -1,18 +1,16 @@
-/*
- * Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
- * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
+// Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
+//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+// AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+// PERFORMANCE OF THIS SOFTWARE.
 
 
 #include <stdint.h>
 #include <stdint.h>
 
 
@@ -33,6 +31,6 @@ void buildRRTypeBitmap(const char* const rrtype_name,
 }
 }
 }
 }
 
 
-// Local Variables: 
+// Local Variables:
 // mode: c++
 // mode: c++
-// End: 
+// End:

+ 1 - 1
src/lib/dns/tests/testdata/rdata_nsec3_fromWire4.spec

@@ -6,4 +6,4 @@
 sections: nsec3
 sections: nsec3
 [nsec3]
 [nsec3]
 maplen: 31
 maplen: 31
-bitmap: '01' 
+bitmap: '01'

+ 1 - 1
src/lib/dns/tests/testdata/rdata_nsec3_fromWire6.spec

@@ -8,4 +8,4 @@ sections: nsec3
 rdlen: 33
 rdlen: 33
 maplen: 0
 maplen: 0
 # dummy data:
 # dummy data:
-bitmap: '01' 
+bitmap: '01'