summaryrefslogtreecommitdiff
path: root/lib/http_ntlm.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-23 19:04:49 +0200
committerYang Tse <yangsita@gmail.com>2011-05-23 19:04:49 +0200
commit328600e02b40f3fa50cebf2af99f243e787088eb (patch)
tree42b5b4f542f4ebc50ab64c147c14ef8f221bcc75 /lib/http_ntlm.c
parente2747ebbc0415062e659490484ff770c78e7bed9 (diff)
downloadcurl-328600e02b40f3fa50cebf2af99f243e787088eb.tar.gz
compiler warning: fix
Fix variable declaration placement
Diffstat (limited to 'lib/http_ntlm.c')
-rw-r--r--lib/http_ntlm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index cb7ef2c3b..bcb844208 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -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)