* Added missing includes of <algorithm> required by newer gcc

versions. Patch by falk@debian.org.

* Swapped the use of PCB::m_up.interested() with
PCB::m_down.interested(). This means that m_up.interested()/choked()
says if the remote peer is interested and if upload to it is choked,
while m_down.interested()/choked() says if local is interested and if
download from the remote peer is choked.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@862 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-02-23 16:33:26 +00:00
parent ef3ecb0b97
commit de3ab556e5
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@
#include "config.h"
#include <algorithm>
#include <cctype>
#include <cerrno>
#include <cstring>