1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 23:15:08 -05:00

http_negotiate_sspi: Prefer use of 'attrs' for context attributes

Use the same variable name as other areas of SSPI code.
This commit is contained in:
Steve Holme 2015-01-17 11:27:36 +00:00
parent 930be07067
commit 36e6404228

View File

@ -53,8 +53,8 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
SecBufferDesc in_buff_desc; SecBufferDesc in_buff_desc;
SecBuffer in_sec_buff; SecBuffer in_sec_buff;
SECURITY_STATUS status; SECURITY_STATUS status;
unsigned long context_attributes; unsigned long attrs;
TimeStamp expiry; TimeStamp expiry; /* For Windows 9x compatibility of SSPI calls */
size_t len = 0, input_token_len = 0; size_t len = 0, input_token_len = 0;
CURLcode result; CURLcode result;
@ -201,7 +201,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
0, 0,
neg_ctx->context, neg_ctx->context,
&out_buff_desc, &out_buff_desc,
&context_attributes, &attrs,
&expiry); &expiry);
Curl_safefree(input_token); Curl_safefree(input_token);