Commit d7098d0f authored by Vitaly Perov's avatar Vitaly Perov Committed by Alexandre Julliard

mpr: Don't set LastError if no error occured.

parent 16dc0378
......@@ -1949,7 +1949,7 @@ DWORD WINAPI WNetGetUniversalNameW ( LPCWSTR lpLocalPath, DWORD dwInfoLevel,
break;
}
SetLastError(err);
if (err != WN_NO_ERROR) SetLastError(err);
return err;
}
......
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