* Some views were using uninitialized bool for reversing.

* Possibly hash_done gets called while a download is closed.

* Consider putting chunk release before receive_chunkdone.

* Don't use getopt to check for flags as that re-orders the left-over
arguments.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@696 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-05-21 00:11:07 +00:00
parent 271e8e6ccf
commit 770d205b9a
4 changed files with 28 additions and 30 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ private:
class ViewSortVariableValue : public ViewSort {
public:
ViewSortVariableValue(const std::string& name, bool reverse = false) :
m_name(name) {}
m_name(name), m_reverse(reverse) {}
virtual bool operator () (Download* d1, Download* d2) const {
if (m_reverse)