mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-13 04:36:16 +00:00
All patches in this commit were from Josef Drexler.
* Fixes a segfault when configure finds execinfo.h. * Fix compile errors and warnings with g++ 4.3.x. * Fixes an interoperability issue in the get_peers handling, now it behaves according to the clarified BEP-0005. Also fixes a minor issue of not being able to generate error packets. * Fix a crash in scgi_local or scgi_port when calling freeaddrinfo with a NULL pointer. * Only check the filename cache for loading tied torrents (e.g. from watch dirs) but not manually loaded ones via <enter>/<bs>, to allow loading those again (ticket #1227). * Fix display of multi-byte characters with attributes (i.e. utf-8 filenames in the file list), and make the list aware of characters occupying two screen positions. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1064 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -84,11 +84,12 @@ Download::~Download() {
|
||||
void
|
||||
Download::enable_udp_trackers(bool state) {
|
||||
for (torrent::TrackerList::iterator itr = m_download.tracker_list()->begin(), last = m_download.tracker_list()->end(); itr != last; ++itr)
|
||||
if ((*itr)->type() == torrent::Tracker::TRACKER_UDP)
|
||||
if ((*itr)->type() == torrent::Tracker::TRACKER_UDP) {
|
||||
if (state)
|
||||
(*itr)->enable();
|
||||
else
|
||||
(*itr)->disable();
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
||||
Reference in New Issue
Block a user