Darwin: fix parsing of config descriptors
authorNathan Hjelm <hjelmn@mac.com>
Sun, 7 Jun 2009 21:26:37 +0000 (22:26 +0100)
committerDaniel Drake <dsd@gentoo.org>
Sun, 7 Jun 2009 21:26:37 +0000 (22:26 +0100)
commit6b69f54451762ef590b9c938ab000c07cf9099a3
tree0813935c41c6aff7df743f30315855eb08a9ff82
parent2b3a9ffa776b383cb2dbc3c55e490e32e4c3c22b
Darwin: fix parsing of config descriptors

This was a confusion between configuration numbers and zero-based
configuration indexes.
libusb/os/darwin_usb.c