merged fixes from RC_0_16

This commit is contained in:
Arvid Norberg
2013-05-11 22:00:54 +00:00
parent cf7a2a098e
commit bdf0e1764b
6 changed files with 23 additions and 10 deletions

View File

@@ -79,6 +79,10 @@ void test_feed(std::string const& filename, rss_expect const& expect)
std::vector<char> buffer;
error_code ec;
load_file(filename, buffer, ec);
if (ec)
{
fprintf(stderr, "failed to load file \"%s\": %s\n", filename.c_str(), ec.message().c_str());
}
TEST_CHECK(!ec);
char* buf = &buffer[0];