Andrew Talbot : secur32: Write-strings warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 23 06:43:22 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: e239953e51fe61754618fab1ef48841b09eca365
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e239953e51fe61754618fab1ef48841b09eca365
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Thu Jun 22 20:42:08 2006 +0100
secur32: Write-strings warnings fix.
---
dlls/secur32/ntlm.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c
index 97cecba..8d8f318 100644
--- a/dlls/secur32/ntlm.c
+++ b/dlls/secur32/ntlm.c
@@ -122,6 +122,8 @@ static SECURITY_STATUS SEC_ENTRY ntlm_Ac
{
static const char username_arg[] = "--username=";
static const char domain_arg[] = "--domain=";
+ static char ntlm_auth[] = "ntlm_auth";
+ static char helper_protocol[] = "--helper-protocol=ntlmssp-client-1";
int unixcp_size;
if(pAuthData == NULL)
@@ -187,8 +189,8 @@ static SECURITY_STATUS SEC_ENTRY ntlm_Ac
-1, client_domain_arg + sizeof(domain_arg) - 1,
unixcp_size - sizeof(domain) + 1, NULL, NULL);
- client_argv[0] = "ntlm_auth";
- client_argv[1] = "--helper-protocol=ntlmssp-client-1";
+ client_argv[0] = ntlm_auth;
+ client_argv[1] = helper_protocol;
client_argv[2] = client_user_arg;
client_argv[3] = client_domain_arg;
client_argv[4] = NULL;
More information about the wine-cvs
mailing list