Skip to content

Commit

Permalink
Fix -p option crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
gsass1 committed Jun 21, 2019
1 parent 471db07 commit 6fab620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntop.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ static void PollProcessList(DWORD UpdateTime)

if(FilterByPID) {
BOOL InFilter = FALSE;
for(DWORD PidIndex = 0; i < PidFilterCount; PidIndex++) {
for(DWORD PidIndex = 0; PidIndex < PidFilterCount; PidIndex++) {
if(PidFilterList[PidIndex] == Process.ID) {
InFilter = TRUE;
}
Expand Down

0 comments on commit 6fab620

Please sign in to comment.