Commit 185d0062 authored by Likun Zhang's avatar Likun Zhang

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

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
parent 5b7bb448
......@@ -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)
......
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment