fix user_specified.driver comparison

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1190 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 17 years ago
parent bb940d69db
commit 3d108fd2b5

@ -1,3 +1,8 @@
2008-05-02 Arnim Laeuger <arniml@users.sourceforge.net>
* src/tap/cable/generic_usbconn.c (generic_usbconn_connect):
fix user_specified.driver comparison
2008-05-01 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Check for libusb before libftdi since the latter needs

@ -107,7 +107,7 @@ generic_usbconn_connect( char *params[], cable_t *cable )
for (i = 0; usbconn_drivers[i] && !conn; i++)
{
if ((user_specified.driver == NULL)
|| (strcasecmp(user_specified.name, usbconn_drivers[i]->type) == 0))
|| (strcasecmp(user_specified.driver, usbconn_drivers[i]->type) == 0))
{
int j;

Loading…
Cancel
Save