forked from premiere/premiere-libtorrent
merge fix from RC_0_16
This commit is contained in:
parent
9c9135bfc4
commit
4cacb5f351
|
@ -123,7 +123,10 @@ namespace libtorrent
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
sha1_hash const& info_hash() const
|
sha1_hash const& info_hash() const
|
||||||
{ return m_torrent_file ? m_torrent_file->info_hash() : sha1_hash(); }
|
{
|
||||||
|
static sha1_hash empty;
|
||||||
|
return m_torrent_file ? m_torrent_file->info_hash() : empty;
|
||||||
|
}
|
||||||
|
|
||||||
// starts the announce timer
|
// starts the announce timer
|
||||||
void start();
|
void start();
|
||||||
|
|
Loading…
Reference in New Issue