调整sane_cancel日志输出位置
This commit is contained in:
parent
bb6c1cdf6e
commit
d0a267adb4
|
@ -1708,6 +1708,7 @@ SANE_Status hg_sane_middleware::read(SANE_Handle h, void* buf, int* bytes)
|
|||
}
|
||||
SANE_Status hg_sane_middleware::stop(SANE_Handle h)
|
||||
{
|
||||
LOG_INFO(LOG_LEVEL_ALL, "sane_cancel\n");
|
||||
scanner_handle hs = find_openning_device(h);
|
||||
|
||||
if(hs)
|
||||
|
@ -2602,8 +2603,6 @@ extern "C" { // avoid compiler exporting name in C++ style !!!
|
|||
}
|
||||
void inner_sane_cancel(SANE_Handle handle)
|
||||
{
|
||||
LOG_INFO(LOG_LEVEL_ALL, "sane_cancel\n");
|
||||
|
||||
hg_sane_middleware::instance()->stop(handle);
|
||||
}
|
||||
SANE_Status inner_sane_set_io_mode(SANE_Handle handle, SANE_Bool non_blocking)
|
||||
|
|
Loading…
Reference in New Issue