Module: wine Branch: master Commit: 0dd54eb0fdab5bec147dd03bfa756353d46172d5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0dd54eb0fdab5bec147dd03bfa...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Oct 26 20:05:00 2011 +0200
secur32: Print the ntlm_auth diagnostic message to the winediag channel.
---
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);