From: Wouter Wijngaards Date: Thu, 26 Jun 2008 14:24:22 +0000 (+0000) Subject: streamtcp fixup. X-Git-Tag: release-1.0.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a102eed3eada75e46b9996091d6e795b1838c04;p=thirdparty%2Funbound.git streamtcp fixup. git-svn-id: file:///svn/unbound/trunk@1141 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 096ad37bf..4033d8702 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +26 June 2008: Wouter + - fixup streamtcp bounds setting for udp mode, in the test framework. + 25 June 2008: Wouter - fixup fwd_ancil test typos. - Fix for newegg lameness : ok for qtype=A, but lame for others. diff --git a/testcode/streamtcp.c b/testcode/streamtcp.c index d6fe40fae..ebfec9007 100644 --- a/testcode/streamtcp.c +++ b/testcode/streamtcp.c @@ -192,6 +192,7 @@ recv_one(int fd, int udp, ldns_buffer* buf) exit(1); } ldns_buffer_set_limit(buf, (size_t)l); + len = (size_t)l; } printf("\nnext received packet\n"); log_buf(0, "data", buf);