Skip to content

Commit

Permalink
Sometimes inf name is on next line. See nmap#224
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Aug 26, 2020
1 parent b92930c commit 3cc881e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packetWin7/NPFInstall/NPFInstall/DriverStoreClear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ vector<tstring> getInfNamesFromPnpUtilOutput(tstring strOutput)

while ((iStart = strOutput.find(_T(':'), iStart + 1)) != tstring::npos)
{
iStart = strOutput.find_first_not_of(_T(" \t"), iStart + 1);
iStart = strOutput.find_first_not_of(_T(" \t\r\n"), iStart + 1);
iEnd = strOutput.find_first_of(_T("\r\n"), iStart + 1);
tstring strText = strOutput.substr(iStart, iEnd - iStart);

Expand Down

0 comments on commit 3cc881e

Please sign in to comment.