aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2007-09-14 14:21:25 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2007-09-14 14:21:25 +0000
commitb53f2be7f2c3dd4bbaf1f269e28464d7d8130e09 (patch)
tree68921b090d7e6e9a914b7c76a75217135c5e3314 /src
parent* src/ejabberd_s2_in.erl: Added debug hook for s2s loop (EJAB-358). (diff)
* src/ejabberd_s2s_out.erl: Changed to actual p1_fsm behaviour. It was working
correctly as the API of p1_fsm and gen_fsm is strictly the same. SVN Revision: 948
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_s2s_out.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl
index 136a10893..8e47e5312 100644
--- a/src/ejabberd_s2s_out.erl
+++ b/src/ejabberd_s2s_out.erl
@@ -8,7 +8,7 @@
-module(ejabberd_s2s_out).
-author('alexey@process-one.net').
--behaviour(gen_fsm).
+-behaviour(p1_fsm).
%% External exports
-export([start/3,
@@ -16,7 +16,7 @@
start_connection/1,
stop_connection/1]).
-%% gen_fsm callbacks
+%% p1_fsm callbacks (same as gen_fsm)
-export([init/1,
open_socket/2,
wait_for_stream/2,
@@ -110,7 +110,7 @@ stop_connection(Pid) ->
p1_fsm:send_event(Pid, stop).
%%%----------------------------------------------------------------------
-%%% Callback functions from gen_fsm
+%%% Callback functions from p1_fsm
%%%----------------------------------------------------------------------
%%----------------------------------------------------------------------