diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2011-04-25 21:58:37 -0700 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2011-04-25 21:58:37 -0700 |
commit | 6d013b0aabb89822c5af64dd296c283cece23552 (patch) | |
tree | 8a30f6601bb28e88069e3d9f53b1cbd43bae2201 /lib | |
parent | bcc29cda8e1e57a29cffb18768d7ed3810b61907 (diff) |
Fixed compiler warning in Windows SSPI case
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_ntlm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index 47b7a75f4..3900f401a 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -658,6 +658,7 @@ ntlm_sspi_cleanup(struct ntlmdata *ntlm) #define HOSTNAME_MAX 1024 +#ifndef USE_WINDOWS_SSPI /* copy the source to the destination and fill in zeroes in every other destination byte! */ static void unicodecpy(unsigned char *dest, @@ -669,6 +670,7 @@ static void unicodecpy(unsigned char *dest, dest[2*i+1] = '\0'; } } +#endif /* this is for creating ntlm header output */ CURLcode Curl_output_ntlm(struct connectdata *conn, |