]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_irc/iconv.erl: Changed order of handle_info
authorBadlop <badlop@process-one.net>
Sat, 15 Dec 2007 13:01:32 +0000 (13:01 +0000)
committerBadlop <badlop@process-one.net>
Sat, 15 Dec 2007 13:01:32 +0000 (13:01 +0000)
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

ChangeLog
src/eldap/eldap.erl
src/mod_irc/iconv.erl
src/stringprep/stringprep.erl

index 06e3c74d442970f6881c230f470ef1c9418693a0..737346b66dea912a12c74d5895748d67b7696794 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 59233c79229553c78c8e2045dea11741013f1099..6dc6a6082c627a79c516980bb1cea1de8c3a1595 100644 (file)
@@ -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}          |
index b3502c55f2f1c9fc9da5f8840450aa1871952ab2..900efcbbb144586ebdf10fac907225cd95bdaf5f 100644 (file)
@@ -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}.
 
index 981dcdf6111538c8a69cca6129e622f4901441fd..50d82cd602964633cca28c020c9237da30079181 100644 (file)
@@ -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}.