1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 08:12:05 +01:00

Close stream properly.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1941 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-05-16 15:42:41 +00:00 committed by mtucker
parent 672bc9078d
commit 1ac4992358

View file

@ -157,7 +157,7 @@ class PacketWriter {
} }
// Close the stream. // Close the stream.
try { try {
writer.write("</stream>"); writer.write("</stream:stream>");
writer.flush(); writer.flush();
} }
catch (Exception e) { } catch (Exception e) { }
@ -176,5 +176,3 @@ class PacketWriter {
} }
} }
} }