~ubuntu-branches/ubuntu/precise/libmtp/precise-updates

« back to all changes in this revision

Viewing changes to src/libusb-glue.c

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-02-15 20:45:39 UTC
  • mfrom: (1.1.15 upstream)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: james.westby@ubuntu.com-20110215204539-tzk4z9fbpr7prpeq
Tags: 1.0.6-1
* New upstream release:
  - Fix probe code, hopefully MTP devices are now properly detected.
  - Fix an older iconv.m4 and other stuff needed for Solaris builds.
  - Some new devices and minor bug fixes.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
464
464
    } else if (dumpfile != NULL) {
465
465
      fprintf(dumpfile, "Device responds to control message 2 with some data.\n");
466
466
    }
 
467
    /* Close the USB device handle */
 
468
    usb_close(devh);
 
469
    return 1;
467
470
  }
468
471
 
469
472
  /* Close the USB device handle */
470
473
  usb_close(devh);
471
 
  return 1;
 
474
  return 0;
472
475
}
473
476
 
474
477
/**