Date: Fri, 20 Nov 2009 07:48:18 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 170854 for review Message-ID: <200911200748.nAK7mICx043344@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=170854 Change 170854 by hselasky@hselasky_laptop001 on 2009/11/20 07:47:46 LibUSB 1.0: - correct a return code in the transfer cancel function. Affected files ... .. //depot/projects/usb/src/lib/libusb/libusb10.c#18 edit Differences ... ==== //depot/projects/usb/src/lib/libusb/libusb10.c#18 (text+ko) ==== @@ -1277,8 +1277,9 @@ if (uxfer == NULL) return (LIBUSB_ERROR_INVALID_PARAM); + /* check if not initialised */ if (uxfer->dev_handle == NULL) - return (LIBUSB_ERROR_INVALID_PARAM); + return (LIBUSB_ERROR_NOT_FOUND); endpoint = uxfer->endpoint;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911200748.nAK7mICx043344>