anchor.diff:  %%%----------------------------------------------------------------------
   %%% Internal functions
   %%%----------------------------------------------------------------------
  -safe_decode_path({abs_path, Path}) ->
  -    case catch yaws_api:url_decode(Path) of
  -        {'EXIT', _} -> "/undecodable_path";
  -        Val         -> Val
  -    end;
  -safe_decode_path(_) ->
  -    "/undecodable_path".
  -
  -
   optional_header(Item) ->
       case Item of
           undefined -> "-";
  
positive.code: handle_cast({ServerName, auth, Fd, {Ip, Path, Item}}, State) ->
      case State#state.running of
          true ->
              IpStr = case catch inet_parse:ntoa(Ip) of
                          {'EXIT', _} -> "unknownip";
                          Val -> Val
                      end,
              Msg = [IpStr, " ", State#state.now, " ", ServerName, " " ,
                     "\"", Path,"\"",
                     case Item of
                         {ok, User}       -> [" OK user=", User];
  
negative.code:                       {0,9} -> "HTTP/0.9"
                    end,
  
              Path      = yaws_server:safe_decode_path(Req#http_request.path),
              Meth      = yaws:to_list(Req#http_request.method),
              Referer   = optional_header(InH#headers.referer),
              UserAgent = optional_header(InH#headers.user_agent),
  