mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
compiler warning: fix
Fix variable declaration placement
This commit is contained in:
parent
e2747ebbc0
commit
328600e02b
@ -949,7 +949,6 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
|
||||
SECURITY_STATUS status;
|
||||
ULONG attrs;
|
||||
TimeStamp tsDummy; /* For Windows 9x compatibility of SPPI calls */
|
||||
CURLcode res;
|
||||
|
||||
type_2_desc.ulVersion = type_3_desc.ulVersion = SECBUFFER_VERSION;
|
||||
type_2_desc.cBuffers = type_3_desc.cBuffers = 1;
|
||||
@ -993,6 +992,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
|
||||
size_t useroff;
|
||||
const char *user;
|
||||
size_t userlen;
|
||||
CURLcode res;
|
||||
|
||||
user = strchr(userp, '\\');
|
||||
if(!user)
|
||||
|
Loading…
Reference in New Issue
Block a user