* 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
This commit is contained in:
Mickaël Rémond 2007-09-14 14:21:25 +00:00
parent 48a2813ec6
commit b53f2be7f2
1 changed files with 3 additions and 3 deletions

View File

@ -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
%%%----------------------------------------------------------------------
%%----------------------------------------------------------------------