summaryrefslogtreecommitdiff
path: root/deps/ntlmclient/ntlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/ntlmclient/ntlm.c')
-rw-r--r--deps/ntlmclient/ntlm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/ntlmclient/ntlm.c b/deps/ntlmclient/ntlm.c
index 9d0f3b8e3..24b08f658 100644
--- a/deps/ntlmclient/ntlm.c
+++ b/deps/ntlmclient/ntlm.c
@@ -587,7 +587,9 @@ int ntlm_client_negotiate(
size_t *out_len,
ntlm_client *ntlm)
{
- size_t hostname_len, hostname_offset, domain_len, domain_offset;
+ size_t hostname_len, domain_len;
+ size_t domain_offset = 0;
+ size_t hostname_offset = 0;
uint32_t flags = 0;
assert(out && out_len && ntlm);