projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffd65a1
)
Avoid "unused variable" warnings.
author
Gisle Vanem
<gvanem@broadpark.no>
Mon, 14 Mar 2005 09:37:08 +0000
(09:37 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Mon, 14 Mar 2005 09:37:08 +0000
(09:37 +0000)
lib/http_ntlm.c
patch
|
blob
|
history
diff --git
a/lib/http_ntlm.c
b/lib/http_ntlm.c
index
cc04cef
..
679289d
100644
(file)
--- a/
lib/http_ntlm.c
+++ b/
lib/http_ntlm.c
@@
-330,10
+330,12
@@
CURLcode Curl_output_ntlm(struct connectdata *conn,
{
const char *domain=""; /* empty */
const char *host=""; /* empty */
+#ifndef USE_WINDOWS_SSPI
int domlen=(int)strlen(domain);
int hostlen = (int)strlen(host);
int hostoff; /* host name offset */
int domoff; /* domain name offset */
+#endif
size_t size;
char *base64=NULL;
unsigned char ntlmbuf[256]; /* enough, unless the host/domain is very long */