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

Change return type to reflect recent changes in p1_sip

This commit is contained in:
Evgeniy Khramtsov 2014-07-16 14:54:02 +04:00
parent 64205426bf
commit b5c4fe6626

View File

@ -86,10 +86,10 @@ request(#sip{method = <<"ACK">>} = Req, SIPSock) ->
{proxy_auth, LServer} ->
mod_sip_proxy:route(Req, LServer, [{authenticated, false}]);
_ ->
error
ok
end;
request(_Req, _SIPSock) ->
error.
ok.
request(Req, SIPSock, TrID) ->
request(Req, SIPSock, TrID, action(Req, SIPSock)).