From b671d2934b64c7b693cacfd06ca0a5c08e4b24c5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 8 Mar 2005 16:08:59 +0000 Subject: minor bit twiddling --- xml.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xml.cc') diff --git a/xml.cc b/xml.cc index 00280c38..0b51469a 100644 --- a/xml.cc +++ b/xml.cc @@ -134,15 +134,15 @@ static void dataHandler(void *userData, const char *s, int len) bool xml_parser_t::test(std::istream& in) const { - char buf[256]; + char buf[80]; - in.getline(buf, 255); + in.getline(buf, 79); if (std::strncmp(buf, "