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
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} |
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}.
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}.