fixed some typos

This commit is contained in:
Arvid Norberg 2013-01-01 23:43:52 +00:00
parent aab59d04c7
commit c37420f82d
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/ip_voter.hpp"
#include "libtorrent/broadcast_socket.hpp" // for is_any() etc.
#include "libtorrent/socket_io.hpp" // for hash_address
#include "libtorrent/random.hpp" // for random()
#include <boost/bind.hpp>

View File

@ -6096,7 +6096,7 @@ retry:
, source_type, print_address(source).c_str());
#endif
if (!m_external_ip.cast_vote(ip, source_type, source));
if (!m_external_ip.cast_vote(ip, source_type, source)) return;
#if defined TORRENT_VERBOSE_LOGGING
session_log(" external IP updated");