Merge branch 'corrupted-data-image-with-scanimage' into 'master'

Replacement of printf by DBG

See merge request sane-project/backends!479
merge-requests/244/head
Ordissimo 2020-06-05 10:03:25 +00:00
commit b9b82f25e1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -125,7 +125,7 @@ print_xml_platen_and_adf_status(xmlNode *node,
if (node->type == XML_ELEMENT_NODE) {
if (find_nodes_s(node)) {
if (strcmp((const char *)node->name, "State") == 0) {
printf ("State\t");
DBG(10, "State\t");
const char *state = (const char *)xmlNodeGetContent(node);
if (!strcmp(state, "Idle")) {
DBG(10, "Idle SANE_STATUS_GOOD\n");