summaryrefslogtreecommitdiff
path: root/src/http-ntlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http-ntlm.c')
-rw-r--r--src/http-ntlm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http-ntlm.c b/src/http-ntlm.c
index 87f5a37..72f6fcd 100644
--- a/src/http-ntlm.c
+++ b/src/http-ntlm.c
@@ -122,7 +122,7 @@ ntlm_input (struct ntlmdata *ntlm, const char *header)
DEBUGP (("Received a type-2 NTLM message.\n"));
- size = wget_base64_decode (header, buffer);
+ size = wget_base64_decode (header, buffer, strlen (header));
if (size < 0)
return false; /* malformed base64 from server */