Commit Graph

3 Commits (500e978628543d3891355228c4b24c692260a9f7)

Author SHA1 Message Date
Tatsuhiro Tsujikawa fc2307d47c * src/Util.cc (isPowerOf): New function.
* src/Util.h (isPowerOf): New function.
	* src/PeerMessageUtil.cc (checkLength): Added a check for length
	whether or not it is power of 2.
2006-03-31 16:15:23 +00:00
Tatsuhiro Tsujikawa f02143579b renamed TorrentMan::totalSize to TorrentMan::totalLength and added its
accessors.
2006-03-31 15:27:21 +00:00
Tatsuhiro Tsujikawa df6c7c0385 added bittorrent support(experimental) 2006-03-21 14:12:51 +00:00