Commit 8d461c1f authored by Pierre Schweitzer's avatar Pierre Schweitzer Committed by Alexandre Julliard

mpr: Don't stop enumeration on the first failing network provider.

parent 51b4a429
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment