anchor.diff:  	    {next_state, started,
   	     S#state{file_system_pid = FSPid,
   		     tracker_pid = TrackerPid,
  -		     torrent = Torrent,
   		     peer_group_pid = PeerGroupPid}}
   
       end.
  
positive.code:     {stop, argh, S};
  started({tracker_error_report, Reason}, S) ->
      io:format("Got tracker error: ~s~n", [Reason]),
      {next_state, started, S};
  started(seed, S) ->
      etorrent_torrent:statechange(S#state.id, seeding),
      {ok, Name} = etorrent_metainfo:get_name(S#state.torrent),
      etorrent_event:completed_torrent(Name),
      etorrent_tracker_communication:completed(S#state.tracker_pid),
      {next_state, started, S}.
  
  stopped(start, S) ->
  
negative.code: -include("etorrent_mnesia_table.hrl").
  
  %% API
  -export([start_link/3, token/1, start/1, stop/1,
  	torrent_checked/2, tracker_error_report/2, seed/1,
  	tracker_warning_report/2]).
  
  