> in windows_transfer_callback, just easy if (io_size > 0) after case 
> ERROR_OPERATION_ABORTED: will help.

I don't think we want to fix this in `windows_transfer_callback()`, as we may 
get `io_size` 0 when there is no error.
A more proper fix is to have `hid_copy_transfer_data()` accept an `io_size` of 
0. That's how I just patched it. If you are cloning from git, can you test the 
latest, and reopen this issue if you are still seeing a problem?

Thanks again for reporting and investigating it!

/Pete

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/160#issuecomment-29424148
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to