fixed some typos
This commit is contained in:
parent
aab59d04c7
commit
c37420f82d
|
@ -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>
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue