1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +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.
try {
writer.write("</stream>");
writer.write("</stream:stream>");
writer.flush();
}
catch (Exception e) { }
@ -175,6 +175,4 @@ class PacketWriter {
}
}
}
}
}