Commit dbe8d61c authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

adsldp: Add more traces.

parent 70c3e08d
......@@ -611,6 +611,7 @@ static HRESULT WINAPI ldapns_Get(IADs *iface, BSTR name, VARIANT *prop)
for (idx = 0; idx < count; idx++)
{
TRACE("=> %s\n", debugstr_w(ldap->attrs[i].values[idx]));
V_VT(&item) = VT_BSTR;
V_BSTR(&item) = SysAllocString(ldap->attrs[i].values[idx]);
if (!V_BSTR(&item))
......@@ -633,6 +634,7 @@ fail:
}
else
{
TRACE("=> %s\n", debugstr_w(ldap->attrs[i].values[0]));
V_BSTR(prop) = SysAllocString(ldap->attrs[i].values[0]);
if (!V_BSTR(prop)) return E_OUTOFMEMORY;
V_VT(prop) = VT_BSTR;
......@@ -1178,7 +1180,10 @@ static HRESULT WINAPI search_ExecuteSearch(IDirectorySearch *iface, LPWSTR filte
}
for (i = 0; i < count; i++)
{
TRACE("=> %s\n", debugstr_w(names[i]));
props[i] = names[i];
}
props[count] = NULL;
}
......
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