mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-15 15:19:20 +02:00
*** empty log message ***
SVN Revision: 38
This commit is contained in:
parent
563587a4ce
commit
c4d76dec7d
@ -6,7 +6,8 @@
|
||||
%%% Id : $Id$
|
||||
%%%----------------------------------------------------------------------
|
||||
|
||||
-define(ejabberd_debug, true).
|
||||
%-define(ejabberd_debug, true).
|
||||
%-define(DBGFSM, true).
|
||||
|
||||
-ifdef(ejabberd_debug).
|
||||
-define(DEBUG(Format, Args), io:format("D(~p:~p:~p) : "++Format++"~n",
|
||||
|
@ -246,6 +246,10 @@ handle_sync_event(Event, From, StateName, StateData) ->
|
||||
handle_info({send_text, Text}, StateName, StateData) ->
|
||||
send_text(StateData#state.sender, Text),
|
||||
{next_state, StateName, StateData};
|
||||
handle_info(replaced, StateName, StateData) ->
|
||||
% TODO
|
||||
%send_text(StateData#state.sender, Text),
|
||||
{stop, normal, StateData#state{user = ""}};
|
||||
handle_info({route, From, To, Packet}, StateName, StateData) ->
|
||||
{xmlelement, Name, Attrs, Els} = Packet,
|
||||
{FU, FS, FR} = From,
|
||||
|
@ -29,7 +29,7 @@
|
||||
-record(state, {socket, receiver, streamid,
|
||||
myname, server, queue}).
|
||||
|
||||
-define(DBGFSM, true).
|
||||
%-define(DBGFSM, true).
|
||||
|
||||
-ifdef(DBGFSM).
|
||||
-define(FSMOPTS, [{debug, [trace]}]).
|
||||
|
@ -30,7 +30,7 @@
|
||||
myname, server, xmlpid, queue,
|
||||
new = false, verify = false}).
|
||||
|
||||
-define(DBGFSM, true).
|
||||
%-define(DBGFSM, true).
|
||||
|
||||
-ifdef(DBGFSM).
|
||||
-define(FSMOPTS, [{debug, [trace]}]).
|
||||
|
@ -31,7 +31,7 @@
|
||||
-record(state, {socket, receiver, streamid,
|
||||
host, password}).
|
||||
|
||||
-define(DBGFSM, true).
|
||||
%-define(DBGFSM, true).
|
||||
|
||||
-ifdef(DBGFSM).
|
||||
-define(FSMOPTS, [{debug, [trace]}]).
|
||||
|
Loading…
Reference in New Issue
Block a user