kopia lustrzana https://gitlab.com/sane-project/backends
sanei_usb: Return correct error code in replay code path
rodzic
7508a21741
commit
77886e6387
|
@ -3851,7 +3851,7 @@ sanei_usb_replay_control_msg(SANE_Int dn, SANE_Int rtype, SANE_Int req,
|
||||||
(void) dn;
|
(void) dn;
|
||||||
|
|
||||||
if (testing_known_commands_input_failed)
|
if (testing_known_commands_input_failed)
|
||||||
return -1;
|
return SANE_STATUS_IO_ERROR;
|
||||||
|
|
||||||
xmlNode* node = sanei_xml_get_next_tx_node();
|
xmlNode* node = sanei_xml_get_next_tx_node();
|
||||||
if (node == NULL)
|
if (node == NULL)
|
||||||
|
|
Ładowanie…
Reference in New Issue