diff options
Diffstat (limited to 'src/stringprep/stringprep.erl')
-rw-r--r-- | src/stringprep/stringprep.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stringprep/stringprep.erl b/src/stringprep/stringprep.erl index 31e3ef48..981dcdf6 100644 --- a/src/stringprep/stringprep.erl +++ b/src/stringprep/stringprep.erl @@ -57,15 +57,15 @@ handle_call(_, _, State) -> handle_cast(_, State) -> {noreply, State}. -handle_info({'EXIT', Pid, Reason}, Port) -> +handle_info({'EXIT', _Pid, _Reason}, Port) -> {noreply, Port}; - -handle_info({'EXIT', Port, Reason}, Port) -> - {stop, {port_died, Reason}, 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}. -code_change(OldVsn, State, Extra) -> +code_change(_OldVsn, State, _Extra) -> {ok, State}. terminate(_Reason, Port) -> |