aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Salisbury <mark.salisbury@hp.com>2012-06-15 19:39:18 +0200
committerYang Tse <yangsita@gmail.com>2012-06-15 19:39:18 +0200
commita96fa00f3831acdf18c778ebee88d61dbc432d4f (patch)
treec51f1c427130505111a0d8429db3ae98f1263d62 /lib
parenta5e0583cd3b690fd44e572c44f0328345a532830 (diff)
SSPI related code: Unicode support for WinCE - commit 46480bb9 follow-up
Diffstat (limited to 'lib')
-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;