anchor.diff:  %% </dl>
   %% @end
   -spec query_state(integer()) -> unknown | {value, [{term(), term()}]}.
  -query_state(Id) ->
  -    gen_server:call(srv_name(), {query_state, Id}).
  +query_state(ID) ->
  +    gen_server:call(srv_name(), {query_state, ID}).
   
   -spec srv_name() -> atom().
   srv_name() ->
  
positive.code: start_link() ->
      gen_server:start_link({local, srv_name()}, ?MODULE, [], []).
  
  %% @doc Query for the state of TorrentId, Id.
  %% <p>The function returns one of several possible values:</p>
  %% <dl>
  %%      <dt>unknown</dt>
  
negative.code:     InitState  = #state{table=Statetable},
      {ok, InitState}.
  
  handle_call({query_state, ID}, _From, State) ->
      #state{table=Table} = State,
      {value, Properties} = etorrent_table:get_torrent(ID),
      Torrentfile = proplists:get_value(filename, Properties),
      Reply = case dets:lookup(Table, Torrentfile) of
          [] ->
  