Fixups after initial unit test.

git-svn-id: file:///svn/unbound/trunk@251 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-04-19 09:48:42 +00:00
parent 561385c35a
commit 545feea82b
5 changed files with 103 additions and 27 deletions
+2 -1
View File
@@ -614,7 +614,8 @@ void
comm_point_send_reply_iov(struct comm_reply* repinfo, struct iovec* iov,
size_t iovlen)
{
write_iov_buffer(repinfo->c->buffer, iov, iovlen);
/* skip tcp len at [0]. */
write_iov_buffer(repinfo->c->buffer, iov+1, iovlen-1);
comm_point_send_reply(repinfo);
}