SSPI related code: Unicode support for WinCE - commit 46480bb9 follow-up

This commit is contained in:
Mark Salisbury 2012-06-15 19:39:18 +02:00 committed by Yang Tse
parent a5e0583cd3
commit a96fa00f38
1 changed files with 1 additions and 1 deletions

View File

@ -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;