anchor.diff:  
   %% API
   -export([start_link/6, connect/3, choke/1, unchoke/1, interested/1,
  -	 send_have_piece/2, complete_handshake/4, endgame_got_chunk/2]).
  +	 send_have_piece/2, complete_handshake/4, endgame_got_chunk/2,
  +	 queue_pieces/1]).
   
   %% gen_server callbacks
   -export([init/1, handle_call/3, handle_cast/2, handle_info/2,
  
positive.code:     {noreply, S, 0};
  handle_cast({endgame_got_chunk, Chunk}, S) ->
      NS = handle_endgame_got_chunk(Chunk, S),
      {noreply, NS, 0};
  handle_cast(_Msg, State) ->
      {noreply, State, 0}.
  
negative.code: %%--------------------------------------------------------------------
  complete_handshake(Pid, ReservedBytes, Socket, PeerId) ->
      gen_server:cast(Pid, {complete_handshake, ReservedBytes, Socket, PeerId}).
  
  queue_pieces(Pid) ->
      gen_server:cast(Pid, queue_pieces).
  
  %%====================================================================
  %% gen_server callbacks
  