[sane-devel] sane-backends/sanei/sanei_usb.c:575

ABC abc at telekom.ru
Mon Dec 1 00:45:54 UTC 2008


While digging in sanei sources (cvs head) I stumbled on this line:

> 532 #ifdef HAVE_USBCALLS
> 533   /* Check for devices using OS/2 USBCALLS Interface */
> ...
>> 575           if (pDevDesc->bDeviceClass = USB_CLASS_VENDOR_SPEC)
> 576            {
> 577              found = SANE_TRUE;
> 578            }


Assigment in 'if ()' is probably mistake and should be '=='.





More information about the sane-devel mailing list