Browse Source

Fix the error in code comments according stephem's review for ticket289, which should be done in trac289.

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2739 e5f2f494-b856-4b98-b285-d166d9295462
Likun Zhang 14 years ago
parent
commit
185d00623f
2 changed files with 4 additions and 3 deletions
  1. 2 2
      src/lib/python/isc/datasrc/sqlite3_ds.py
  2. 2 1
      src/lib/xfr/xfrout_client.cc

+ 2 - 2
src/lib/python/isc/datasrc/sqlite3_ds.py

@@ -93,10 +93,10 @@ def open(dbfile):
 
     return conn, cur
 
-
 #########################################################################
 # get_zone_datas
-#   returns all the records for one zone with the given zone name. 
+#   a generator function producing an iterable set of 
+#   the records in the zone with the given zone name.
 #########################################################################
 def get_zone_datas(zonename, dbfile):
     conn, cur = open(dbfile)

+ 2 - 1
src/lib/xfr/xfrout_client.cc

@@ -81,8 +81,9 @@ XfroutClient::sendXfroutRequestInfo(const int tcp_sock,
                   "to xfrout module");
     }
 
-    // XXX: this shouldn't be blocking send, even though it's unlikely to
+    // TODO: this shouldn't be blocking send, even though it's unlikely to
     // block.
+    // converting the 16-bit word to network byte order.
     const uint8_t lenbuf[2] = { msg_len >> 8, msg_len & 0xff };
     if (send(impl_->socket_.native(), lenbuf, sizeof(lenbuf), 0) !=
         sizeof(lenbuf)) {