Skip to content
  • Bastien Nocera's avatar
    lib: Fix get_next_timeout_expiry · 11b11a9d
    Bastien Nocera authored
    If get_next_timeout_expiry() fails, and libusb_get_next_timeout()
    has no timeouts or failed, fprint_timeout will not be set, and
    we cannot compare it to libusb_timeout.
    
    Exit early if both failed or have empty queues.
    11b11a9d