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

Julien BLACHE jb at jblache.org
Mon Dec 1 10:12:07 UTC 2008


ABC <abc at telekom.ru> wrote:

Hi,

> 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 '=='.

Fixed, thanks.

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list