anchor.diff:              exit(seeder)
       end.
   
  -%% @doc Check if the request queue is low
  --spec poll_queue(tservices(), pid(), peerstate(), peerstate()) -> peerstate().
  -poll_queue(Download, SendPid, Remote, Local) ->
  +
  +%% @private Check if the local request queue is low on requests.
  +%% An updated copy of the local peer state is returned, including any new requests.
  +-spec poll_local_rqueue(tservices(), pid(), peerstate(), peerstate()) -> peerstate().
  +poll_local_rqueue(Download, SendPid, Remote, Local) ->
       case etorrent_peerstate:needreqs(Local) of
           false ->
               Local;
  
positive.code:     ok        = etorrent_scarcity:add_peer(TorrentID, Pieceset),
      TmpLocal  = check_local_interest(Pieceset, Local, SendPid),
      NewRemote = check_remote_seeder(TmpRemote, TmpLocal),
      NewLocal  = poll_queue(Download, SendPid, NewRemote, TmpLocal),
      NewState  = State#state{remote=NewRemote, local=NewLocal},
      {ok, NewState};
  
  
negative.code:     ok        = etorrent_scarcity:add_piece(TorrentID, Piece, Pieceset),
      TmpLocal  = check_local_interest(Piece, Local, SendPid),
      NewRemote = check_remote_seeder(TmpRemote, TmpLocal),
      NewLocal  = poll_local_rqueue(Download, SendPid, NewRemote, TmpLocal),
      NewState  = State#state{remote=NewRemote, local=NewLocal},
      {ok, NewState};
  
  