Browse Source

http_negotiate_sspi: Prefer use of 'attrs' for context attributes

Use the same variable name as other areas of SSPI code.
Steve Holme 9 years ago
parent
commit
36e6404228
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/http_negotiate_sspi.c

+ 3 - 3
lib/http_negotiate_sspi.c

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