[PATCH] iphlpapi: Remove check for negative value.

Andrey Gusev <[email protected]>
Newsgroups gmane.comp.emulators.wine.patches
Message-ID <[email protected]>
Signed-off-by: Andrey Gusev <[email protected]>
---
 dlls/iphlpapi/ipstats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c
index 47df7ebfde..c7a01d5de8 100644
--- a/dlls/iphlpapi/ipstats.c
+++ 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;
 
         fds = HeapAlloc( GetProcessHeap(), 0, fd_len );
         if (!fds) continue;
-- 
2.13.6
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.