mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 04:32:30 +00:00
* 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:
@@ -43,6 +43,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
|
||||
Reference in New Issue
Block a user