diff --git a/libusb/descriptor.c b/libusb/descriptor.c index 74d6de5..0b0e314 100644 --- a/libusb/descriptor.c +++ b/libusb/descriptor.c @@ -1174,7 +1174,7 @@ int API_EXPORTED libusb_get_string_descriptor_ascii(libusb_device_handle *dev_ha return LIBUSB_ERROR_IO; if (tbuf[0] > r) - return LIBUSB_ERROR_IO; + tbuf[0] = r; di = 0; for (si = 2; si < tbuf[0]; si += 2) { -- 2.17.0 g src='https://git.koszko.org/cgit-static/cgit.png' alt='cgit logo'/> index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Expand)Author
2019-09-24Merge branch 'master' into core-updatesLudovic Courtès
2019-09-18doc: Add Guix Cookbook....Ricardo Wurmus
2019-06-14build: Remove 'gnu/packages/bootstrap' and its binaries....Ludovic Courtès
2019-04-26bootstrap: Break automake dependency on generated files....Miguel Ángel Arruga Vivas
2018-11-20.gitignore: Re-add 'authenticate' script....Marius Bakke
2018-06-14Remove 'guix-register' and its traces....Ludovic Courtès
2018-06-12.gitignore: Add doc/stamp-[0-9].Ludovic Courtès
2018-04-19gnu: doc: Allow documentation to be translated....Julien Lepiller
2018-02-13.gitignore: Add guix-daemon SELinux policy....Efraim Flashner
2017-05-13.gitignore: Ignore Emacs auto-save files....ng0
2017-05-08build: Add doc/guix.html to .gitignore....Clément Lassieur
2017-05-04build: Use Gnulib's 'git-version-gen'....Ludovic Courtès
2017-02-27.gitignore: Remove stale entries....Alex Kost
2017-02-10build: Add build-aux/ar-lib to .gitignore....Clément Lassieur
2017-01-13etc: Support indentation of whole files....Ludovic Courtès
2017-01-12etc: Add 'indent-package.el' script....Ludovic Courtès
2016-11-24Add system start-up files for "guix publish"....Hartmut Goebel
2016-11-16daemon: Add "builtin:download" derivation builder....Ludovic Courtès