mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Fixed compiler warning in Windows SSPI case
This commit is contained in:
parent
bcc29cda8e
commit
6d013b0aab
@ -658,6 +658,7 @@ ntlm_sspi_cleanup(struct ntlmdata *ntlm)
|
|||||||
|
|
||||||
#define HOSTNAME_MAX 1024
|
#define HOSTNAME_MAX 1024
|
||||||
|
|
||||||
|
#ifndef USE_WINDOWS_SSPI
|
||||||
/* copy the source to the destination and fill in zeroes in every
|
/* copy the source to the destination and fill in zeroes in every
|
||||||
other destination byte! */
|
other destination byte! */
|
||||||
static void unicodecpy(unsigned char *dest,
|
static void unicodecpy(unsigned char *dest,
|
||||||
@ -669,6 +670,7 @@ static void unicodecpy(unsigned char *dest,
|
|||||||
dest[2*i+1] = '\0';
|
dest[2*i+1] = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* this is for creating ntlm header output */
|
/* this is for creating ntlm header output */
|
||||||
CURLcode Curl_output_ntlm(struct connectdata *conn,
|
CURLcode Curl_output_ntlm(struct connectdata *conn,
|
||||||
|
Loading…
Reference in New Issue
Block a user