Commit 3370d249 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

adsldp: Fix error returned from openobj_OpenDSObject().

parent e6513521
...@@ -990,7 +990,7 @@ static HRESULT WINAPI openobj_OpenDSObject(IADsOpenDSObject *iface, BSTR path, B ...@@ -990,7 +990,7 @@ static HRESULT WINAPI openobj_OpenDSObject(IADsOpenDSObject *iface, BSTR path, B
err = DsGetDcNameW(NULL, NULL, NULL, NULL, DS_RETURN_DNS_NAME, &dcinfo); err = DsGetDcNameW(NULL, NULL, NULL, NULL, DS_RETURN_DNS_NAME, &dcinfo);
if (err != ERROR_SUCCESS) if (err != ERROR_SUCCESS)
{ {
hr = HRESULT_FROM_WIN32(LdapGetLastError()); hr = HRESULT_FROM_WIN32(err);
goto fail; goto fail;
} }
......
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