On Wednesday 17 August 2011 02:38:22 Sean C. Farley wrote: > On Tue, 16 Aug 2011, Hans Petter Selasky wrote: > > +enum libusb_speed > > +libusb_get_device_speed(libusb_device *dev) > > +{ > > + if (dev == NULL) > > + return (0); /* should not happen */ > > Should that return LIBUSB_SPEED_UNKNOWN instead of 0? Yes, that's correct. --HPS