mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22: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:
parent
672bc9078d
commit
1ac4992358
1 changed files with 2 additions and 4 deletions
|
@ -157,7 +157,7 @@ class PacketWriter {
|
|||
}
|
||||
// Close the stream.
|
||||
try {
|
||||
writer.write("</stream>");
|
||||
writer.write("</stream:stream>");
|
||||
writer.flush();
|
||||
}
|
||||
catch (Exception e) { }
|
||||
|
@ -176,5 +176,3 @@ class PacketWriter {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue