[PATCH 1/2] adsldp: Add more traces.

Dmitry Timoshkov dmitry at baikal.ru
Fri Mar 27 03:39:00 CDT 2020


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 dlls/adsldp/adsldp.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dlls/adsldp/adsldp.c b/dlls/adsldp/adsldp.c
index 7385a40e25..b88867bec1 100644
--- a/dlls/adsldp/adsldp.c
+++ b/dlls/adsldp/adsldp.c
@@ -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;
     }
-- 
2.25.1




More information about the wine-devel mailing list