mpr: Don't set LastError if no error occured.
This commit is contained in:
parent
16dc037859
commit
d7098d0f4f
|
@ -1949,7 +1949,7 @@ DWORD WINAPI WNetGetUniversalNameW ( LPCWSTR lpLocalPath, DWORD dwInfoLevel,
|
|||
break;
|
||||
}
|
||||
|
||||
SetLastError(err);
|
||||
if (err != WN_NO_ERROR) SetLastError(err);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue