]> granicus.if.org Git - curl/commit
sspi: Minor code tidy up to standardise coding style
authorSteve Holme <steve_holme@hotmail.com>
Fri, 8 Aug 2014 21:39:19 +0000 (22:39 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 8 Aug 2014 21:43:18 +0000 (22:43 +0100)
commitb91e97eabd3a91b7362bc33aa4ef9d114b8aead1
tree07033172db782fbf76041f98936d007fc79652f4
parentcda4aaba4dc403303b0c430ecc739ed68f213f83
sspi: Minor code tidy up to standardise coding style

Following the recent changes and in attempt to align the SSPI based
authentication code performed the following:

* Use NULL and SECBUFFVERSION rather than hard coded constants.
* Avoid comparison of zero in if statements.
* Standardised the buf and desc setup code.
lib/curl_ntlm_msgs.c
lib/http_negotiate_sspi.c