Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
update from ffissore
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
listComPorts.c
-
BIN
listComPorts.exe
-
BIN
usbSearch.exe
|
|
@@ -108,7 +108,7 @@ int listComPorts(void) |
|
|
dhGetValue(L"%s", &pnpid, objDevice, L".PnPDeviceID"); |
|
|
|
|
|
if(verbose>1) printf("'%s'.\n", name); |
|
|
if( (match = strstr( name, "(COM" )) != NULL ) { // look for "(COM23)" |
|
|
if( name != NULL && ((match = strstr( name, "(COM" )) != NULL) ) { // look for "(COM23)" |
|
|
// 'Manufacturuer' can be null, so only get it if we need it |
|
|
dhGetValue(L"%s", &manu, objDevice, L".Manufacturer"); |
|
|
port_count++; |
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.