aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http_negotiate_sspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_negotiate_sspi.c b/lib/http_negotiate_sspi.c
index ac197f6cf..59a270a0d 100644
--- a/lib/http_negotiate_sspi.c
+++ b/lib/http_negotiate_sspi.c
@@ -208,7 +208,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy,
#ifdef UNICODE
sname = Curl_convert_UTF8_to_wchar(neg_ctx->server_name);
- if(!wserver)
+ if(!sname)
return CURLE_OUT_OF_MEMORY;
#else
sname = neg_ctx->server_name;