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

Remove unused function

This commit is contained in:
Evgeniy Khramtsov 2014-05-02 15:20:27 +04:00
parent ebd760b7c9
commit 47a39ce738

View File

@ -12,7 +12,7 @@
-behaviour(?GEN_FSM). -behaviour(?GEN_FSM).
%% API %% API
-export([start/2, start_link/2, route/4, route/5]). -export([start/2, start_link/2, route/4]).
%% gen_fsm callbacks %% gen_fsm callbacks
-export([init/1, wait_for_request/2, wait_for_response/2, -export([init/1, wait_for_request/2, wait_for_response/2,
@ -39,12 +39,8 @@ start(LServer, Opts) ->
start_link(LServer, Opts) -> start_link(LServer, Opts) ->
?GEN_FSM:start_link(?MODULE, [LServer, Opts], []). ?GEN_FSM:start_link(?MODULE, [LServer, Opts], []).
route(Resp, Req, _SIPSock, TrID, Pid) ->
?GEN_FSM:send_event(Pid, {Resp, Req, TrID}).
route(SIPMsg, _SIPSock, TrID, Pid) -> route(SIPMsg, _SIPSock, TrID, Pid) ->
?GEN_FSM:send_event(Pid, {SIPMsg, TrID}), ?GEN_FSM:send_event(Pid, {SIPMsg, TrID}).
wait.
%%%=================================================================== %%%===================================================================
%%% gen_fsm callbacks %%% gen_fsm callbacks