aboutsummaryrefslogtreecommitdiff
path: root/lib/http_ntlm.c
diff options
context:
space:
mode:
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 e279fd07b..d99aa1172 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -986,7 +986,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn,
int ntrespoff;
unsigned char ntresp[24]; /* fixed-size */
#endif
- bool unicode = ntlm->flags & NTLMFLAG_NEGOTIATE_UNICODE;
+ bool unicode = (ntlm->flags & NTLMFLAG_NEGOTIATE_UNICODE)?TRUE:FALSE;
size_t useroff;
const char *user;
size_t userlen;