From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: less TCHARs: - TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/libcurl/src/http_negotiate_sspi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/libcurl/src/http_negotiate_sspi.c') diff --git a/libs/libcurl/src/http_negotiate_sspi.c b/libs/libcurl/src/http_negotiate_sspi.c index 1381d5292d..997e161165 100644 --- a/libs/libcurl/src/http_negotiate_sspi.c +++ b/libs/libcurl/src/http_negotiate_sspi.c @@ -91,7 +91,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy, SecBuffer in_sec_buff; unsigned long context_attributes; TimeStamp lifetime; - TCHAR *sname; + wchar_t *sname; int ret; size_t len = 0, input_token_len = 0; bool gss = FALSE; @@ -138,7 +138,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy, if(!neg_ctx->output_token) { PSecPkgInfo SecurityPackage; - ret = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) TEXT("Negotiate"), + ret = s_pSecFn->QuerySecurityPackageInfo((wchar_t *) TEXT("Negotiate"), &SecurityPackage); if(ret != SEC_E_OK) return -1; @@ -168,7 +168,7 @@ int Curl_input_negotiate(struct connectdata *conn, bool proxy, neg_ctx->status = s_pSecFn->AcquireCredentialsHandle(NULL, - (TCHAR *) TEXT("Negotiate"), + (wchar_t *) TEXT("Negotiate"), SECPKG_CRED_OUTBOUND, NULL, NULL, NULL, NULL, neg_ctx->credentials, &lifetime); -- cgit v1.2.3