[PATCH 2/5] secur32: Print the ntlm_auth diagnostic message to the winediag channel.

Henri Verbeet hverbeet at codeweavers.com
Wed Oct 26 13:05:00 CDT 2011


---
 dlls/secur32/ntlm.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c
index c842a12..f865158 100644
--- a/dlls/secur32/ntlm.c
+++ b/dlls/secur32/ntlm.c
@@ -34,6 +34,7 @@
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(ntlm);
+WINE_DECLARE_DEBUG_CHANNEL(winediag);
 
 #define NTLM_MAX_BUF 1904
 #define MIN_NTLM_AUTH_MAJOR_VERSION 3
@@ -2051,14 +2052,13 @@ void SECUR32_initNTLMSP(void)
     }
     else
     {
-        ERR("%s was not found or is outdated. "
-            "Make sure that ntlm_auth >= %d.%d.%d is in your path.\n",
-            ntlm_auth,
-	    MIN_NTLM_AUTH_MAJOR_VERSION,
-	    MIN_NTLM_AUTH_MINOR_VERSION,
-	    MIN_NTLM_AUTH_MICRO_VERSION);
-        ERR("Usually, you can find it in the winbind package of your "
-            "distribution.\n");
+        ERR_(winediag)("%s was not found or is outdated. "
+                       "Make sure that ntlm_auth >= %d.%d.%d is in your path. "
+                       "Usually, you can find it in the winbind package of your distribution.\n",
+                       ntlm_auth,
+                       MIN_NTLM_AUTH_MAJOR_VERSION,
+                       MIN_NTLM_AUTH_MINOR_VERSION,
+                       MIN_NTLM_AUTH_MICRO_VERSION);
 
     }
     cleanup_helper(helper);
-- 
1.7.3.4




More information about the wine-patches mailing list