diff --git a/include/libtorrent/union_endpoint.hpp b/include/libtorrent/union_endpoint.hpp index 22f0e424a..3a9f6c8a2 100644 --- a/include/libtorrent/union_endpoint.hpp +++ b/include/libtorrent/union_endpoint.hpp @@ -127,7 +127,7 @@ namespace libtorrent #if TORRENT_USE_IPV6 bool v4:1; #endif - }; + }; } #endif diff --git a/src/i2p_stream.cpp b/src/i2p_stream.cpp index ae0d12423..7a03feaea 100644 --- a/src/i2p_stream.cpp +++ b/src/i2p_stream.cpp @@ -153,7 +153,7 @@ namespace libtorrent complete_async("i2p_stream::on_sam_connect"); #endif m_state = sam_idle; - + if (ec) { h(ec); diff --git a/src/torrent.cpp b/src/torrent.cpp index cc9c3672e..5ce7ca9b2 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -2361,7 +2361,7 @@ namespace libtorrent // parse out "banned_peers" and add them as banned if (bdecode_node banned_peers_entry = m_resume_data->node.dict_find_list("banned_peers")) - { + { for (int i = 0; i < banned_peers_entry.list_size(); ++i) { bdecode_node e = banned_peers_entry.list_at(i);