]> granicus.if.org Git - curl/commitdiff
sasl_sspi: Corrected a couple of comment typos
authorSteve Holme <steve_holme@hotmail.com>
Fri, 14 Nov 2014 22:20:28 +0000 (22:20 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 14 Nov 2014 23:27:19 +0000 (23:27 +0000)
lib/curl_sasl_sspi.c

index b07623fb9bc4fb2790756dafa367213b1533fe74..10906e539652efe9c72653fe8e270a72e838cefe 100644 (file)
@@ -868,15 +868,15 @@ CURLcode Curl_sasl_create_gssapi_security_message(struct SessionHandle *data,
     return CURLE_BAD_CONTENT_ENCODING;
   }
 
-  /* Not 4 octets long to fail as per RFC4752 Section 3.1 */
+  /* Not 4 octets long so fail as per RFC4752 Section 3.1 */
   if(input_buf[1].cbBuffer != 4) {
     Curl_safefree(chlg);
 
     return CURLE_BAD_CONTENT_ENCODING;
   }
 
-  /* Copy the data out into a coinput_bufnvenient variable and free the SSPI
-     allocated buffer as it is not required anymore */
+  /* Copy the data out and free the SSPI allocated buffer as it is not required
+     anymore */
   memcpy(&indata, input_buf[1].pvBuffer, 4);
   s_pSecFn->FreeContextBuffer(input_buf[1].pvBuffer);