From a96fa00f3831acdf18c778ebee88d61dbc432d4f Mon Sep 17 00:00:00 2001 From: Mark Salisbury Date: Fri, 15 Jun 2012 19:39:18 +0200 Subject: SSPI related code: Unicode support for WinCE - commit 46480bb9 follow-up --- lib/http_negotiate_sspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http_negotiate_sspi.c') 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; -- cgit v1.2.3