From 6cee916e041e85788c9ff1f2e787676f842bc60e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 15 Feb 2006 20:46:07 +0000 Subject: Added in.clear() before resetting I/Os streams. Again, thanks to the list. --- xml.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xml.cc') diff --git a/xml.cc b/xml.cc index 4bebbf44..380416ed 100644 --- a/xml.cc +++ b/xml.cc @@ -158,16 +158,19 @@ bool xml_parser_t::test(std::istream& in) const in.getline(buf, 79); if (std::strncmp(buf, "