[svn] commit: r2739 - in /trunk/src/lib: python/isc/datasrc/sqlite3_ds.py xfr/xfrout_client.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Aug 16 10:29:30 UTC 2010
Author: zhanglikun
Date: Mon Aug 16 10:29:30 2010
New Revision: 2739
Log:
Fix the error in code comments according stephem's review for ticket289, which should be done in trac289.
Modified:
trunk/src/lib/python/isc/datasrc/sqlite3_ds.py
trunk/src/lib/xfr/xfrout_client.cc
Modified: trunk/src/lib/python/isc/datasrc/sqlite3_ds.py
==============================================================================
--- trunk/src/lib/python/isc/datasrc/sqlite3_ds.py (original)
+++ trunk/src/lib/python/isc/datasrc/sqlite3_ds.py Mon Aug 16 10:29:30 2010
@@ -93,10 +93,10 @@
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)
Modified: trunk/src/lib/xfr/xfrout_client.cc
==============================================================================
--- trunk/src/lib/xfr/xfrout_client.cc (original)
+++ trunk/src/lib/xfr/xfrout_client.cc Mon Aug 16 10:29:30 2010
@@ -81,8 +81,9 @@
"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)) {
More information about the bind10-changes
mailing list