anchor.diff:  
   %% =======================================================================
   
  +%% @private
   init([]) ->
       _ = ets:new(?TAB, [protected, named_table,
                                      {keypos, 2}]),
  
positive.code: %%%-------------------------------------------------------------------
  %%% File    : etorrent_torrent.erl
  %%% Author  : Jesper Louis Andersen <>
  %%% Description : Library for manipulating the torrent table.
  %%%
  %%% Created : 15 Jun 2008 by Jesper Louis Andersen <>
  %%%-------------------------------------------------------------------
  -module(etorrent_torrent).
  
  -behaviour(gen_server).
  
negative.code: 		T <- Torrents,
  		proplists:get_value(state, T) =:= seeding]}.
  
  %% @doc Track that we downloaded a piece
  %%  <p>As a side-effect, this call eventually updates the endgame state</p>
  %% @end
  -spec decrease_not_fetched(integer()) -> ok.
  decrease_not_fetched(Id) ->
      gen_server:call(?SERVER, {decrease, Id}).
  
  
  %% @doc Returns true if the torrent is in endgame mode
  %% @end
  -spec is_endgame(integer()) -> boolean().
  is_endgame(Id) ->
      case ets:lookup(?TAB, Id) of
  