sanei_usb: Return correct error code in replay code path

merge-requests/213/head^2
Povilas Kanapickas 2020-03-28 22:08:40 +02:00
rodzic 7508a21741
commit 77886e6387
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3851,7 +3851,7 @@ sanei_usb_replay_control_msg(SANE_Int dn, SANE_Int rtype, SANE_Int req,
(void) dn;
if (testing_known_commands_input_failed)
return -1;
return SANE_STATUS_IO_ERROR;
xmlNode* node = sanei_xml_get_next_tx_node();
if (node == NULL)