diff options
Diffstat (limited to 'protocols/JabberG/jabber_secur.cpp')
-rw-r--r-- | protocols/JabberG/jabber_secur.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/JabberG/jabber_secur.cpp b/protocols/JabberG/jabber_secur.cpp index 12577bb9e2..2dc9c29e68 100644 --- a/protocols/JabberG/jabber_secur.cpp +++ b/protocols/JabberG/jabber_secur.cpp @@ -70,13 +70,9 @@ TNtlmAuth::~TNtlmAuth() bool TNtlmAuth::getSpn( TCHAR* szSpn, size_t dwSpnLen )
{
-#ifdef UNICODE
GetUserNameExType myGetUserNameEx =
( GetUserNameExType )GetProcAddress( GetModuleHandleA( "secur32.dll" ), "GetUserNameExW" );
-#else
- GetUserNameExType myGetUserNameEx =
- ( GetUserNameExType )GetProcAddress( GetModuleHandleA( "secur32.dll" ), "GetUserNameExA" );
-#endif
+
if ( !myGetUserNameEx ) return false;
TCHAR szFullUserName[128] = _T( "" );
|