mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-26 20:47:58 +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) { }
|
||||
|
@ -175,6 +175,4 @@ class PacketWriter {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue