summaryrefslogtreecommitdiff
path: root/src/ejabberd_service.erl
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2003-01-08 20:42:03 +0000
committerAlexey Shchepin <alexey@process-one.net>2003-01-08 20:42:03 +0000
commite23adaae389b386898ec2cb0a288d216a47faec0 (patch)
treea40e1ae1617b7dac8f0946dcf68d4f53d0cf0ac2 /src/ejabberd_service.erl
parent*** empty log message *** (diff)
*** empty log message ***
SVN Revision: 33
Diffstat (limited to '')
-rw-r--r--src/ejabberd_service.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_service.erl b/src/ejabberd_service.erl
index b3de12fa..ff3b4e54 100644
--- a/src/ejabberd_service.erl
+++ b/src/ejabberd_service.erl
@@ -261,7 +261,7 @@ receiver(Socket, C2SPid, XMLStreamPid) ->
{ok, Text} ->
xml_stream:send_text(XMLStreamPid, Text),
receiver(Socket, C2SPid, XMLStreamPid);
- {error, closed} ->
+ {error, Reason} ->
exit(XMLStreamPid, closed),
gen_fsm:send_event(C2SPid, closed),
ok