25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Change warning message.

SVN Revision: 1404
This commit is contained in:
Jean-Sébastien Pédron 2008-07-01 14:20:20 +00:00
parent a25609f66b
commit 5317dd64d7
2 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,8 @@
warning is printed when these functions are called with an old warning is printed when these functions are called with an old
#xmlelement. #xmlelement.
* src/ejabberd_router.erl: Change warning message.
2008-06-30 Jean-Sébastien Pédron <js.pedron@meetic-corp.com> 2008-06-30 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/Makefile.in: Remove the -I flag for exmpp includes; the * src/Makefile.in: Remove the -I flag for exmpp includes; the

View File

@ -411,7 +411,7 @@ convert_to_old_structs(From, To, Packet) ->
if if
is_record(Packet, xmlelement) -> is_record(Packet, xmlelement) ->
catch throw(for_stacktrace), % To have a stacktrace. catch throw(for_stacktrace), % To have a stacktrace.
io:format("~nROUTE: old #xmlelement:~n~p~n~p~n~n", io:format("~nROUTER: old #xmlelement:~n~p~n~p~n~n",
[Packet, erlang:get_stacktrace()]), [Packet, erlang:get_stacktrace()]),
{From, To, Packet}; {From, To, Packet};
true -> true ->