From b0bdd56b2049a5f615f284ae7e3798aec7437c68 Mon Sep 17 00:00:00 2001 From: rcollier Date: Sat, 23 Mar 2013 13:27:55 +0000 Subject: [PATCH] SMACK-412 Fixed merge error. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13589 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/PacketWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smack/PacketWriter.java b/source/org/jivesoftware/smack/PacketWriter.java index 1e30439c8..3fe4db09f 100644 --- a/source/org/jivesoftware/smack/PacketWriter.java +++ b/source/org/jivesoftware/smack/PacketWriter.java @@ -163,7 +163,7 @@ class PacketWriter { Packet packet = nextPacket(); if (packet != null) { writer.write(packet.toXML()); - writer.flush(); + if (queue.isEmpty()) { writer.flush(); }