*** empty log message ***

This commit is contained in:
John Wiegley 2005-03-08 16:09:53 +00:00
parent b671d2934b
commit 56b5f5fcce

View file

@ -308,10 +308,7 @@ bool textual_parser_t::test(std::istream& in) const
{
char buf[5];
assert(in.good());
in.read(buf, 5);
std::cerr << "buf (" << buf[0] << ")" << std::endl;
assert(in.good());
if (std::strncmp(buf, "<?xml", 5) == 0) {
#ifdef HAVE_XMLPARSE
throw parse_error(path, linenum, "Ledger file contains XML data, but no XML support present");