From: JINMEI Tatuya Date: Thu, 26 Jul 2012 22:21:16 +0000 (-0700) Subject: [2095] a few more editorial fixes to comments. X-Git-Tag: trac2351_base~137^2~4^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=099edfbad5fba9dd7b29b35714d87f285f22c9aa;p=thirdparty%2Fkea.git [2095] a few more editorial fixes to comments. --- diff --git a/src/lib/datasrc/memory/rdata_encoder.h b/src/lib/datasrc/memory/rdata_encoder.h index 2e4585552c..a537b73bca 100644 --- a/src/lib/datasrc/memory/rdata_encoder.h +++ b/src/lib/datasrc/memory/rdata_encoder.h @@ -182,7 +182,7 @@ public: /// /// \note This implementation does not support RDATA (or any subfield of /// it) whose size exceeds 65535 bytes (max uint16_t value). Such RDATA - /// may not necessarily considered invalid in terms of protocol + /// may not necessarily be considered invalid in terms of protocol /// specification, but in practice it's mostly useless because the /// corresponding RR won't fit in any valid DNS message. /// @@ -272,8 +272,8 @@ private: RdataEncoderImpl* impl_; }; -// We use the following quick-hack version of encoder and "foreach" -// operator until we implement the complete versions. The plan is to +// We use the following quick-hack version of "foreach" +// operators until we implement the complete versions. The plan is to // update the test cases that use these functions with the complete // functions/classes, and then remove the entire namespace. namespace testing { diff --git a/src/lib/datasrc/memory/tests/rdata_encoder_unittest.cc b/src/lib/datasrc/memory/tests/rdata_encoder_unittest.cc index 4273e7caba..882262f31c 100644 --- a/src/lib/datasrc/memory/tests/rdata_encoder_unittest.cc +++ b/src/lib/datasrc/memory/tests/rdata_encoder_unittest.cc @@ -322,7 +322,7 @@ RdataEncoderTest::addRdataMultiCommon(const vector& rrsigs) { TEST_F(RdataEncoderTest, encodeLargeRdata) { // There should be no reason for a large RDATA to fail in encoding, - // but we check such a case explicitly. + // but we check such a case explicitly. encoded_data_.resize(65535); // max unsigned 16-bit int isc::util::InputBuffer buffer(&encoded_data_[0], encoded_data_.size());