From dcb3e01faa29e709035a02ec021cc7a601a5b1f9 Mon Sep 17 00:00:00 2001 From: scoliono Date: Fri, 2 Apr 2021 21:59:25 -0700 Subject: [PATCH] suppress xml parsing error messages --- FemMonitor/booru.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FemMonitor/booru.c b/FemMonitor/booru.c index f75bb4f..da46f30 100644 --- a/FemMonitor/booru.c +++ b/FemMonitor/booru.c @@ -98,7 +98,7 @@ void* booru_refresh(void* arg) gdrawbar(graph, index, response_times[index] / 100.0f); // get post count - doc = xmlReadMemory(posts_data.memory, posts_data.size, "noname.xml", NULL, 0); + doc = xmlReadMemory(posts_data.memory, posts_data.size, "noname.xml", NULL, XML_PARSE_NOERROR | XML_PARSE_NOWARNING); if (doc == NULL) { on_xml_error(window);