anchor.diff:      gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
   
   dir_watched() ->
  -    gen_server:call(dirwatcher, dir_watched).
  +    gen_server:call(?SERVER, dir_watched).
   
   %%====================================================================
   %% gen_server callbacks
  
positive.code: init([]) ->
      process_flag(trap_exit, true),
      {ok, Dir} = application:get_env(etorrent, dir),
      _Tid = ets:new(etorrent_dirwatcher, [named_table, protected]),
      {ok, #state{dir = Dir}, 0}.
  
  handle_call(dir_watched, _Who, S) ->
  
negative.code:     reset_marks(ets:first(etorrent_dirwatcher)),
      lists:foreach(fun process_file/1,
                    filelib:wildcard("*.torrent", S#state.dir)),
      start_stop(ets:first(etorrent_dirwatcher)),
      ok.
  
  process_file(F) ->
  