Dmitry Timoshkov : adsldp: Add more traces.

Alexandre Julliard julliard at winehq.org
Fri Mar 27 16:14:39 CDT 2020


Module: wine
Branch: master
Commit: dbe8d61c7055d0bc5713f90b0e9ce3f3389a8144
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=dbe8d61c7055d0bc5713f90b0e9ce3f3389a8144

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Fri Mar 27 17:06:16 2020 +0800

adsldp: Add more traces.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;
     }




More information about the wine-cvs mailing list