Changeset 34258 in vbox
- Timestamp:
- Nov 22, 2010 5:06:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/USBLib-win.cpp
r34257 r34258 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 = pCaptured;2876 for (uint32_t i = 0; i < numdev.cUSBDevices; i++)2875 pList = pCaptured; 2876 while (pList) 2877 2877 { 2878 2878 uint32_t j; … … 2883 2883 for (j = 0; j < cHostDevices; j++) 2884 2884 { 2885 char *pszDeviceRegPath = usblibQueryDeviceRegPath( i);2885 char *pszDeviceRegPath = usblibQueryDeviceRegPath(j); 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( i)));2892 Log(("usbLibGetDevices: Duplicate device %s (%s)\n", pszDeviceRegPath, usblibQueryDeviceName(j))); 2893 2893 break; 2894 2894 }
Note:
See TracChangeset
for help on using the changeset viewer.