Summary: Fix walking the list of HID matches

When walking the list of matches returned by hid_enumerate(),
actually proceed to the next element.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1383 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch 2016-02-24 22:08:36 +00:00
parent b3ee7ad686
commit e1ce7be101
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ static int usbhid_open(char * port, union pinfo pinfo, union filedescriptor *fd)
} }
avrdude_message(MSG_DEBUG, "%s: usbhid_open(): serial number doesn't match\n", avrdude_message(MSG_DEBUG, "%s: usbhid_open(): serial number doesn't match\n",
progname); progname);
walk = walk->next;
} }
if (walk == NULL) if (walk == NULL)
{ {