fix to previous checking
This commit is contained in:
parent
0e5ce5dd9d
commit
57eeba53a8
|
@ -793,8 +793,8 @@ namespace libtorrent
|
||||||
#ifdef TORRENT_VERBOSE_LOGGING
|
#ifdef TORRENT_VERBOSE_LOGGING
|
||||||
(*m_logger) << " *** THIS IS A SEED ***\n";
|
(*m_logger) << " *** THIS IS A SEED ***\n";
|
||||||
#endif
|
#endif
|
||||||
assert(m_peer_info);
|
// if this is a web seed. we don't have a peer_info struct
|
||||||
m_peer_info->seed = true;
|
if (m_peer_info) m_peer_info->seed = true;
|
||||||
// if we're a seed too, disconnect
|
// if we're a seed too, disconnect
|
||||||
if (t->is_seed())
|
if (t->is_seed())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue