1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Fix compilation error with libtorrent v0.15

This commit is contained in:
Christophe Dumez 2013-01-19 18:16:47 +02:00
parent bcd81c0791
commit 64fd3044b1

View File

@ -392,8 +392,10 @@ void QBtSession::configureSession() {
sessionSettings.upnp_ignore_nonrouters = true; sessionSettings.upnp_ignore_nonrouters = true;
sessionSettings.use_dht_as_fallback = false; sessionSettings.use_dht_as_fallback = false;
#if LIBTORRENT_VERSION_MINOR > 15
// Disable support for SSL torrents for now // Disable support for SSL torrents for now
sessionSettings.ssl_listen = 0; sessionSettings.ssl_listen = 0;
#endif
// To prevent ISPs from blocking seeding // To prevent ISPs from blocking seeding
sessionSettings.lazy_bitfields = true; sessionSettings.lazy_bitfields = true;
// Speed up exit // Speed up exit