Hi,

On 06/18/2013 11:50 PM, Pete Batard wrote:
> On 2013.06.13 21:39, Hans de Goede wrote:

<snip>

>> +            usbi_err(HANDLE_CTX(handle),
>> +                    "disconnect-and-claim failed errno %d", errno);
>> +            return LIBUSB_ERROR_OTHER;
>
> It's usually nice when we can avoid ERROR_OTHER, because this is the
> least helpful error to return. Not sure if there's a better code we
> could use here, but just wanted to point that out.

Just realized I forgot to reply to this but, the ioctl at this moment
never returns any other error, so this code is just there in case the
ioctl does start throwing other errors in the future.

Regards,

Hans

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to