Re: [PATCH] iphlpapi: Remove check for negative value.
2 Nov
2017
2 Nov
'17
11:06 a.m.
Andrey Gusev <andrey.goosev(a)gmail.com> writes:
+++ b/dlls/iphlpapi/ipstats.c @@ -2056,7 +2056,7 @@ static unsigned int find_owning_pid( struct pid_map *map, unsigned int num_entri for (i = 0; i < num_entries; i++) { fd_len = proc_pidinfo( map[i].unix_pid, PROC_PIDLISTFDS, 0, NULL, 0 ); - if (fd_len <= 0) continue; + if (fd_len == 0) continue;
The function returns int, probably the variable type should be changed instead. -- Alexandre Julliard julliard(a)winehq.org
2962
Age (days ago)
2962
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard