mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/mod_irc/iconv.erl: Changed order of handle_info
clause (EJAB-290) * src/stringprep/stringprep.erl: Likesise * src/eldap/eldap.erl: Removed handle_sync_event clause because it is never called (EJAB-290) SVN Revision: 1072
This commit is contained in:
parent
090fceebc2
commit
2b91ebcc85
@ -1,5 +1,12 @@
|
||||
2007-12-15 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/mod_irc/iconv.erl: Changed order of handle_info
|
||||
clause (EJAB-290)
|
||||
* src/stringprep/stringprep.erl: Likesise
|
||||
|
||||
* src/eldap/eldap.erl: Removed handle_sync_event clause because it
|
||||
is never called (EJAB-290)
|
||||
|
||||
* src/mod_irc/mod_irc.erl: No need to translate copyright notice
|
||||
* src/mod_muc/mod_muc.erl: Likewise
|
||||
* src/mod_proxy65/mod_proxy65_service.erl: Likewise
|
||||
|
@ -490,11 +490,6 @@ handle_sync_event({debug_level, N}, _From, StateName, S) ->
|
||||
handle_sync_event(_Event, _From, StateName, S) ->
|
||||
{reply, {StateName, S}, StateName, S}.
|
||||
|
||||
%% TODO: Check this clause, because it never matches:
|
||||
%%handle_sync_event(Event, From, StateName, S) ->
|
||||
%% Reply = ok,
|
||||
%% {reply, Reply, StateName, S}.
|
||||
|
||||
%%----------------------------------------------------------------------
|
||||
%% Func: handle_info/3
|
||||
%% Returns: {next_state, NextStateName, NextStateData} |
|
||||
|
@ -50,11 +50,10 @@ handle_call(_, _, State) ->
|
||||
handle_cast(_, State) ->
|
||||
{noreply, State}.
|
||||
|
||||
handle_info({'EXIT', Port, Reason}, Port) ->
|
||||
{stop, {port_died, Reason}, Port};
|
||||
handle_info({'EXIT', _Pid, _Reason}, Port) ->
|
||||
{noreply, Port};
|
||||
%% TODO: Check this clause, because it never matches:
|
||||
%%handle_info({'EXIT', Port, Reason}, Port) ->
|
||||
%% {stop, {port_died, Reason}, Port};
|
||||
handle_info(_, State) ->
|
||||
{noreply, State}.
|
||||
|
||||
|
@ -57,11 +57,10 @@ handle_call(_, _, State) ->
|
||||
handle_cast(_, State) ->
|
||||
{noreply, State}.
|
||||
|
||||
handle_info({'EXIT', Port, Reason}, Port) ->
|
||||
{stop, {port_died, Reason}, Port};
|
||||
handle_info({'EXIT', _Pid, _Reason}, Port) ->
|
||||
{noreply, Port};
|
||||
%% TODO: Check if this clase is correct: it never matches:
|
||||
%%handle_info({'EXIT', Port, Reason}, Port) ->
|
||||
%% {stop, {port_died, Reason}, Port};
|
||||
handle_info(_, State) ->
|
||||
{noreply, State}.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user