PERFORCE change 161438 for review

Sylvestre Gallon syl at FreeBSD.org
Fri May 1 16:46:58 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=161438

Change 161438 by syl at syl_atuin on 2009/05/01 16:46:05

	Fix a little bug.

Affected files ...

.. //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10_desc.c#7 edit

Differences ...

==== //depot/projects/soc2009/syl_usb/src/lib/libusb/libusb10_desc.c#7 (text+ko) ====

@@ -106,7 +106,7 @@
 	nalt = nif = pconf->num_interface;
 	nend = 0;
 	for (i = 0 ; i < nif ; i++) {
-		if (pconf->interface[i].num_altsetting > 1)
+		if (pconf->interface[i].num_altsetting > 0)
 		{
 			nalt += pconf->interface[i].num_altsetting;
 			for (j = 0 ; j < nalt ; j++) {


More information about the p4-projects mailing list