anchor.diff:  		      end,
   		if
   		    is_record(URL, sipurl) ->
  -			logger:log(normal, "Location: User ~p ~p location ~p has expired", [User, Class, sipurl:print(URL)]);
  +			logger:log(normal, "Location: User ~p ~p location ~p has expired",
  +				   [User, Class, sipurl:print(URL)]);
   		    true ->
  -			logger:log(normal, "Location: User ~p ~p (unrecognized) location ~p has expired", [User, Class, Location])
  +			logger:log(normal, "Location: User ~p ~p (unrecognized) location ~p has expired",
  +				   [User, Class, Location])
   		end,
   		delete_phone(User, Location, Class)
   	end,
  
positive.code: %%           SipUser = string()
  %% Descrip.: Fetches all locations for a given number (SIP user)
  %%           from the location database.
  %% Returns : {atomic, Entries} |
  %%           the result of the mnesia:transaction()
  %%           Entries = list() of {Address, Flags, Class, Expire} (see
  %%           phone record())
  %% XXX deprecated - should be replaced by get_sipuser_locations/1
  %%--------------------------------------------------------------------
  get_phone(SipUser) when is_list(SipUser) ->
  
negative.code: 
      case mnesia:transaction(F) of
  	{atomic, L} ->
  	    {ok, L};
  	Unknown ->
  	    logger:log(error, "Location: expired_phones got unknown result from Mnesia : ~p", [Unknown]),
  