1081
1089
int ret, stat=SANE_STATUS_IO_ERROR;
1083
1091
DBG8("sane_hpaio_read() handle=%p data=%p maxLength=%d\n", (void *)handle, data, maxLength);
1085
1099
ret = get_ip_data(ps, data, maxLength, length);
1087
1101
if(ret & (IP_INPUT_ERROR | IP_FATAL_ERROR))