]> granicus.if.org Git - transmission/commit
(trunk libt) in tr_bitfieldSetRaw(), add a `bounded' argument for cases where we...
authorJordan Lee <jordan@transmissionbt.com>
Mon, 26 Sep 2011 22:50:42 +0000 (22:50 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 26 Sep 2011 22:50:42 +0000 (22:50 +0000)
commit18b90f60bcc50bdeb3e80440990966edeb31136d
treece59ebfdef49d3bb08c121d069afb4f2afaadaa2
parentbf6c2a0df73555456eb24028100bbcc827b921b4
(trunk libt) in tr_bitfieldSetRaw(), add a `bounded' argument for cases where we know how large the final bitfield will be. This can be used ensure that the excess bits at the end of the array are zeroed out and safe for bitfield.c's countArray() function.
libtransmission/bitfield.c
libtransmission/bitfield.h
libtransmission/peer-msgs.c
libtransmission/resume.c