[sane-devel] sanei_usb.c

John Doe mail_men@softhome.net
Tue, 12 Nov 2002 16:33:21 +0100


--Apple-Mail-5-825943067
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

In the last week somebody has attached this diff to a mail in the 
group!!
How can I use this diff?
I have no idea how the diff apps work!!

Thanks
Raphael


--Apple-Mail-5-825943067
Content-Disposition: attachment;
	filename=sanei_usb.diff
Content-Transfer-Encoding: 7bit
Content-Type: application/text;
	x-mac-creator=74657874;
	x-unix-mode=0644;
	x-mac-type=54455854;
	name="sanei_usb.diff"

--- sanei_usb.c.ORIG	Sun Nov  3 15:49:06 2002
+++ sanei_usb.c	Sun Nov  3 15:50:41 2002
@@ -542,7 +542,7 @@
 		     "(address: %d), ignoring the new one\n",
 		     devices[devcount].bulk_in_ep);
 	      else
-		devices[devcount].bulk_in_ep = address;
+		devices[devcount].bulk_in_ep = endpoint->bEndpointAddress;
 	    }
 	  else
 	    {
@@ -551,7 +551,7 @@
 		     "(address: %d), ignoring the new one\n",
 		     devices[devcount].bulk_out_ep);
 	      else
-		devices[devcount].bulk_out_ep = address;
+		devices[devcount].bulk_out_ep = endpoint->bEndpointAddress;
 	    }
 	}
 #else /* not HAVE_LIBUSB */

--Apple-Mail-5-825943067--