diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2010-12-17 17:26:20 +0900 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2010-12-17 17:26:20 +0900 |
commit | 606c207e21dd3eca63b976407e11405b6bf1bdba (patch) | |
tree | 8bd13ba1b991ecebafac11547f8d94a80e3b81d6 | |
parent | Ignore OS X libraries. (diff) |
Make sure 'closed' event is correctly processed on every state
-rw-r--r-- | src/ejabberd_s2s_out.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl index f59e8ec8e..b07c9dcd3 100644 --- a/src/ejabberd_s2s_out.erl +++ b/src/ejabberd_s2s_out.erl @@ -248,7 +248,7 @@ open_socket(init, StateData) -> wait_before_reconnect(StateData) end end; -open_socket(stop, StateData) -> +open_socket(closed, StateData) -> ?INFO_MSG("s2s connection: ~s -> ~s (stopped in open socket)", [StateData#state.myname, StateData#state.server]), {stop, normal, StateData}; |