anchor.diff:  
   -export([do/1]).
   
  +-record(state, {document_root}).
  +
   start() -> start([]).
   start(Options) ->
       supervisor:start_child(sasl_sup,
  
positive.code: 
  init(Options) ->
     inets:start(),
     {ok, Pid} = inets:start(httpd, [
        {port, get_port(Options)},
        {server_name, "log_viewer"},
        {server_root, "."},
        {document_root, "."},
        {modules, [?MODULE]},
        {mime_types, [{"css", "text/css"}, {"js", "text/javascript"}, {"html", "text/html"}]}
     ]),
     link(Pid),
     {ok, undef}.
  
  handle_call(get_types, _, State) ->
     {reply, log_viewer_srv:get_types(), State};
  
negative.code:    Response = get_record(list_to_integer(RecNum)),
     {proceed, [{response, {200, Response}}]};
  do(#mod{request_uri = Uri})  when Uri == "/" ->
     {ok, Bin} = file:read_file(get_doc_root() ++ "/www/index.html"),
     {proceed, [{response, {200, binary_to_list(Bin)}}]};
  do(#mod{request_uri = Uri})  when Uri == "/favicon.ico" ->
     {proceed, [{response, {404, ""}}]};
  do(#mod{request_uri = Uri}) ->
     case file:read_file(get_doc_root() ++ Uri) of
        {ok, Bin} ->
           {proceed, [{response, {200, binary_to_list(Bin)}}]};
        {error, Reason} ->
  