aboutsummaryrefslogtreecommitdiff
path: root/lib/http_ntlm.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2005-03-14 09:37:08 +0000
committerGisle Vanem <gvanem@broadpark.no>2005-03-14 09:37:08 +0000
commit76c24a0d82b54a406fb65b57f5caa6d8d47373cf (patch)
treebd6d3ac8cb9c193419dc1571623addb8022c06c6 /lib/http_ntlm.c
parentffd65a1956bf63c16feab7c879dc93973686c3bd (diff)
Avoid "unused variable" warnings.
Diffstat (limited to 'lib/http_ntlm.c')
-rw-r--r--lib/http_ntlm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index cc04cef51..679289db6 100644
--- 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 */