Exemplo n.º 1
0
		void leave_seed_mode(bool seed)
		{
			if (!m_seed_mode) return;
			m_seed_mode = false;
			// seed is false if we turned out not
			// to be a seed after all
			if (!seed) force_recheck();
			m_num_verified = 0;
			m_verified.free();
		}
Exemplo n.º 2
0
	void torrent_handle::force_recheck() const
	{
		INVARIANT_CHECK;
		TORRENT_FORWARD(force_recheck());
	}