diff --git a/src/command_ip.cc b/src/command_ip.cc index 031b0d1f..4f9195bb 100644 --- a/src/command_ip.cc +++ b/src/command_ip.cc @@ -78,7 +78,6 @@ ipv4_filter_parse(const char* address, int value) { lt_log_print(torrent::LOG_CONNECTION_DEBUG, "Adding ip filter for %u.%u.%u.%u/%u.", ip_values[0], ip_values[1], ip_values[2], ip_values[3], block); - torrent::PeerList::ipv4_filter()->insert((ip_values[0] << 24) + (ip_values[1] << 16) + (ip_values[2] << 8) + ip_values[3], rpc::ipv4_table::mask_bits - block, value); } diff --git a/src/core/download_list.cc b/src/core/download_list.cc index 1f6a2db1..6af7b19b 100644 --- a/src/core/download_list.cc +++ b/src/core/download_list.cc @@ -334,7 +334,7 @@ void DownloadList::resume(Download* download, int flags) { check_contains(download); - lt_log_print_info(torrent::LOG_TORRENT_INFO, download->info(), "->download_list: Resuming download: flags%0x.", flags); + lt_log_print_info(torrent::LOG_TORRENT_INFO, download->info(), "->download_list: Resuming download: flags:%0x.", flags); try {