From dd26371c0a9fbc47a87f2a98701f2c3d4666f50d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 10 Nov 2008 04:17:16 +0000 Subject: [PATCH] indentation fix --- src/torrent.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index 4ce2ea2be..8af75b236 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -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);