Browse Source

[3919] Fixed typo

Francis Dupont 9 years ago
parent
commit
10eb775360
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/dns/rdata/generic/naptr_35.cc
  2. 1 1
      src/lib/dns/rdataclass.cc

+ 1 - 1
src/lib/dns/rdata/generic/naptr_35.cc

@@ -34,7 +34,7 @@ using namespace isc::dns;
 
 class NAPTRImpl {
 public:
-    NAPTRImpl() : order(0, preference(0), replacement(".") {}
+    NAPTRImpl() : order(0), preference(0), replacement(".") {}
 
     NAPTRImpl(InputBuffer& buffer, size_t rdata_len) : replacement(".") {
         if (rdata_len < 4 || buffer.getLength() - buffer.getPosition() < 4) {

+ 1 - 1
src/lib/dns/rdataclass.cc

@@ -2565,7 +2565,7 @@ namespace generic {
 
 class NAPTRImpl {
 public:
-    NAPTRImpl() : order(0, preference(0), replacement(".") {}
+    NAPTRImpl() : order(0), preference(0), replacement(".") {}
 
     NAPTRImpl(InputBuffer& buffer, size_t rdata_len) : replacement(".") {
         if (rdata_len < 4 || buffer.getLength() - buffer.getPosition() < 4) {