]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd_s2s_out.erl: Bugfix
authorAlexey Shchepin <alexey@process-one.net>
Fri, 12 Dec 2003 20:35:40 +0000 (20:35 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Fri, 12 Dec 2003 20:35:40 +0000 (20:35 +0000)
SVN Revision: 183

ChangeLog
src/ejabberd_s2s_out.erl

index e8ef01c65b28964862cb4cea65fbe543306d4610..fb64b8d21655a6841f91629d7d65818b939736b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-12  Alexey Shchepin  <alexey@sevcom.net>
+
+       * src/ejabberd_s2s_out.erl: Bugfix
+
 2003-12-11  Alexey Shchepin  <alexey@sevcom.net>
 
        * src/mod_roster.erl: Updated subscription handling to latest
index 8e4394d6b2686dd817a20f33ff5f6e94bdb0b7fb..7899b3d5b3ff183d6f1af9f8b57231cce6ab3869 100644 (file)
@@ -201,7 +201,8 @@ wait_for_validation({xmlstreamelement, El}, StateData) ->
            case Type of
                "valid" ->
                    send_queue(StateData#state.socket, StateData#state.queue),
-                   {next_state, stream_established, StateData};
+                   {next_state, stream_established,
+                    StateData#state{queue = queue:new()}};
                _ ->
                    % TODO: bounce packets
                    {stop, normal, StateData}