aboutsummaryrefslogtreecommitdiff
path: root/src/stringprep/stringprep.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2007-12-15 13:01:32 +0000
committerBadlop <badlop@process-one.net>2007-12-15 13:01:32 +0000
commit2b91ebcc85339803812f9a250f08db7b4c1dd4a0 (patch)
treed26826a4457abeca57db912501d313e593156931 /src/stringprep/stringprep.erl
parent* src/mod_irc/mod_irc.erl: No need to translate copyright notice (diff)
* 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
Diffstat (limited to '')
-rw-r--r--src/stringprep/stringprep.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stringprep/stringprep.erl b/src/stringprep/stringprep.erl
index 981dcdf61..50d82cd60 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}.