Windows: Update transferred data on timeout or cancel.
commit5541bafa48b6075488313d8b57c2c7c9a2359ba4
authorToby Gray <toby.gray@realvnc.com>
Wed, 13 Feb 2013 15:21:52 +0000 (13 15:21 +0000)
committerPete Batard <pete@akeo.ie>
Thu, 14 Feb 2013 00:11:10 +0000 (14 00:11 +0000)
tree47b916c83f3ab122aa29c135d2791f1ea9440f64
parent0a833bc41750bded7d7f182efd564ef8fff6b67f
Windows: Update transferred data on timeout or cancel.

* When handling aborted transfer it's possible that some data (but not
  the full buffer) was transferred.
* This change ensures that this partially transferred data is recorded
  and passed up to the caller.
libusb/os/windows_usb.c
libusb/version_nano.h