Re: [Libusbx-devel] libusb_error_name() and transfer status codes

2012-09-11 Thread Pete Batard
On 2012.09.11 12:49, Hans de Goede wrote: > I accidentally called libusb_error_name() on a transfer status code > in a piece of code of mine. Which of course did not work, but maybe > we should make this work? We can either add a: > libusb_transfer_status_name(), or simply make libusb_error_name()

[Libusbx-devel] libusb_error_name() and transfer status codes

2012-09-11 Thread Hans de Goede
Hi, I accidentally called libusb_error_name() on a transfer status code in a piece of code of mine. Which of course did not work, but maybe we should make this work? We can either add a: libusb_transfer_status_name(), or simply make libusb_error_name() work with transfer codes too, since they don'