View | Details | Raw Unified | Return to bug 192851 | Differences between
and this patch

Collapse All | Expand All

(-)src/simple-mtpfs-fuse.cpp (-5 / +3 lines)
Lines 383-393 bool SMTPFileSystem::exec() Link Here
383
    }
383
    }
384
384
385
#ifdef HAVE_LIBUSB1
385
#ifdef HAVE_LIBUSB1
386
    if (m_options.m_device_file) {
386
    // Try to use device file first, ignore otherwise
387
        // Try to use device file first, if provided
387
    if (!m_options.m_device_file ||
388
        if (!m_device.connect(m_options.m_device_file))
388
        !m_device.connect(m_options.m_device_file))
389
            return false;
390
    } else
391
#endif // HAVE_LIBUSB1
389
#endif // HAVE_LIBUSB1
392
    {
390
    {
393
        // Connect to MTP device by order number, if no device file supplied
391
        // Connect to MTP device by order number, if no device file supplied

Return to bug 192851