anchor.diff:  				  master_pid = MasterPid,
   				  state_pid = StatePid,
   				  url = Url,
  -				  infohash = InfoHash,
  +				  info_hash = InfoHash,
   				  peer_id = PeerId}}.
   
   %%--------------------------------------------------------------------
  
positive.code: 		    RequestTime
  	    end
      end.
  
  build_request_to_send(StatePid) ->
      {data_transfer_amounts, Uploaded, Downloaded, Left} =
  	torrent_state:current_state(StatePid),
      io:format("Building request to send~n"),
      #tracker_request{uploaded = Uploaded,
  		     downloaded = Downloaded,
  		     left = Left}.
  
  % TODO: This doesn't really belong here. Consider moving to bcoding..
  find_in_bcoded(BCoded, Term, Default) ->
  
negative.code: -export([start_link/5, contact_tracker_now/1]).
  
  %% gen_fsm callbacks
  -export([init/1, ready_to_contact/2, waiting_to_contact/2,
  	 state_name/3, handle_event/3, handle_sync_event/4,
  	 handle_info/3, terminate/3, code_change/4]).
  
  -record(state, {should_contact_tracker = false,
  	        state_pid = none,
  	        url = none,
  	        info_hash = none,
  	        peer_id = none,
  	        master_pid = none}).
  
  -define(SERVER, ?MODULE).
  -define(DEFAULT_REQUEST_TIMEOUT, 180).
  