2 Nov
2017
2 Nov
'17
4:06 p.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