From 110a23d2f06565204e509b60b0bc28d5ef61a2ae 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, "