From b53f2be7f2c3dd4bbaf1f269e28464d7d8130e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Fri, 14 Sep 2007 14:21:25 +0000 Subject: * 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 --- src/ejabberd_s2s_out.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 %%%---------------------------------------------------------------------- %%---------------------------------------------------------------------- -- cgit v1.2.3