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
1 changed files with 2 additions and 4 deletions

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 {
}
}
}
}
}