diff options
Diffstat (limited to '')
-rw-r--r-- | src/eldap/eldap.erl | 5 | ||||
-rw-r--r-- | src/mod_irc/iconv.erl | 5 | ||||
-rw-r--r-- | src/stringprep/stringprep.erl | 5 |
3 files changed, 4 insertions, 11 deletions
diff --git a/src/eldap/eldap.erl b/src/eldap/eldap.erl index 59233c79..6dc6a608 100644 --- a/src/eldap/eldap.erl +++ b/src/eldap/eldap.erl @@ -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} | diff --git a/src/mod_irc/iconv.erl b/src/mod_irc/iconv.erl index b3502c55..900efcbb 100644 --- a/src/mod_irc/iconv.erl +++ b/src/mod_irc/iconv.erl @@ -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}. diff --git a/src/stringprep/stringprep.erl b/src/stringprep/stringprep.erl index 981dcdf6..50d82cd6 100644 --- a/src/stringprep/stringprep.erl +++ b/src/stringprep/stringprep.erl @@ -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}. |