anchor.diff:  				 Data) of
   	ok ->
   	    {atomic, ok} = etorrent_torrent:statechange(Id,
  -							{substract_left, DataSize}),
  +							{subtract_left, DataSize}),
   	    {atomic, ok} = etorrent_torrent:statechange(Id,
   							{add_downloaded, DataSize}),
   	    ok = etorrent_t_peer_group:broadcast_have(MasterPid, PieceNumber),
  
positive.code: 	  end),
      case Res of
  	full ->
  	    store_piece(Id, PieceNum, FSPid, PeerGroupPid),
  	    ok;
  	ok ->
  	    ok
      end.
  
negative.code: 
  find_chunked(Id) when is_integer(Id) ->
      Q = qlc:q([R#piece.piece_number || R <- mnesia:table(piece),
  				       R#piece.id =:= Id,
  				       R#piece.state =:= chunked]),
      qlc:e(Q).
  
  
  %%--------------------------------------------------------------------
  %% Function: select_chunks_by_piecenum(Id, PieceNum, Num, Pid) ->
  %%     {ok, [{Offset, Len}]} | {partial, [{Offset, Len}], Remain}
  %% Description: Select up to Num chunks from PieceNum. Will return either
  %%  {ok, Chunks} if it got all chunks it wanted, or {partial, Chunks, Remain}
  %%  if it got some chunks and there is still Remain chunks left to pick.
  %%--------------------------------------------------------------------
  select_chunks_by_piecenum(Id, PieceNum, Num, Pid) ->
      %% Pick up to Num chunks
      [R] = mnesia:read(chunk, {Id, PieceNum, not_fetched}, write),
  