mpr: Don't stop enumeration on the first failing network provider.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
51b4a42969
commit
8d461c1f42
|
@ -1345,15 +1345,13 @@ static DWORD _enumerateConnectedW(PWNetEnumerator enumerator, DWORD* user_count,
|
|||
++curr;
|
||||
}
|
||||
|
||||
if (*user_count != -1)
|
||||
count = *user_count - total_count;
|
||||
else
|
||||
count = *user_count;
|
||||
size = left;
|
||||
}
|
||||
|
||||
if (ret != WN_SUCCESS || total_count == 0)
|
||||
break;
|
||||
if (*user_count != -1)
|
||||
count = *user_count - total_count;
|
||||
else
|
||||
count = *user_count;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue