indentation fix

This commit is contained in:
Arvid Norberg 2008-11-10 04:17:16 +00:00
parent 1d45dbabb0
commit dd26371c0a
1 changed files with 4 additions and 1 deletions

View File

@ -330,7 +330,10 @@ namespace libtorrent
// we need to start announcing since we don't have any
// metadata. To receive peers to ask for it.
if (m_torrent_file->is_valid()) init();
if (m_torrent_file->is_valid())
{
init();
}
else
{
set_state(torrent_status::downloading_metadata);