Changeset 34259 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB
- Timestamp:
- Nov 22, 2010 5:31:14 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68007
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/USBLib-win.cpp
r34258 r34259 2873 2873 /* 3: Add all host devices to array of captured devices; obviously making sure there are no duplicates */ 2874 2874 Assert(pHostDevices && pCaptured); 2875 pList 2876 while (pList)2875 pList = pCaptured; 2876 for (uint32_t i = 0; i < numdev.cUSBDevices; i++) 2877 2877 { 2878 2878 uint32_t j; … … 2883 2883 for (j = 0; j < cHostDevices; j++) 2884 2884 { 2885 char *pszDeviceRegPath = usblibQueryDeviceRegPath( j);2885 char *pszDeviceRegPath = usblibQueryDeviceRegPath(i); 2886 2886 2887 2887 Assert(pszDeviceRegPath); … … 2890 2890 if (!strcmp(pszDeviceRegPath, pDevice->pszAddress)) 2891 2891 { 2892 Log(("usbLibGetDevices: Duplicate device %s (%s)\n", pszDeviceRegPath, usblibQueryDeviceName( j)));2892 Log(("usbLibGetDevices: Duplicate device %s (%s)\n", pszDeviceRegPath, usblibQueryDeviceName(i))); 2893 2893 break; 2894 2894 }
Note:
See TracChangeset
for help on using the changeset viewer.