25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

* src/ejabberd_frontend_socket.erl: Fix compilation warnings and

add TODO comments.

SVN Revision: 2007
This commit is contained in:
Badlop 2009-04-08 18:56:11 +00:00
parent 7c415f3fdf
commit 4dd21545a0
2 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2009-04-08 Badlop <badlop@process-one.net>
* src/ejabberd_frontend_socket.erl: Fix compilation warnings and
add TODO comments.
* src/mod_irc/mod_irc_connection.erl: Fix compilation warnings.
2009-04-08 Evgeniy Khramtsov <ekhramtsov@process-one.net>

View File

@ -94,8 +94,9 @@ start(Module, SockMod, Socket, Opts) ->
todo
end.
starttls(FsmRef, TLSOpts) ->
%gen_server:call(FsmRef, {starttls, TLSOpts}),
starttls(FsmRef, _TLSOpts) ->
%% TODO: Frontend improvements planned by Aleksey
%%gen_server:call(FsmRef, {starttls, TLSOpts}),
FsmRef.
starttls(FsmRef, TLSOpts, Data) ->
@ -137,8 +138,9 @@ close(FsmRef) ->
sockname(FsmRef) ->
gen_server:call(FsmRef, sockname).
peername(FsmRef) ->
%gen_server:call(FsmRef, peername).
peername(_FsmRef) ->
%% TODO: Frontend improvements planned by Aleksey
%%gen_server:call(FsmRef, peername).
{ok, {{0, 0, 0, 0}, 0}}.