* src/mod_irc/iconv.erl: Fix compilation warnings: 3 (EJAB-290)

* src/mod_irc/mod_irc.erl: Likewise
* src/mod_irc/mod_irc_connection.erl: Likewise
* src/mod_pubsub/mod_pubsub.erl: Likewise
* src/stringprep/stringprep.erl: Likewise
* src/web/ejabberd_http.erl: Likewise
* src/web/ejabberd_http_poll.erl: Likewise

SVN Revision: 1047
This commit is contained in:
Badlop
2007-12-07 00:48:11 +00:00
parent b7c0a89a79
commit 95c69b0251
8 changed files with 85 additions and 77 deletions
+5 -5
View File
@@ -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) ->