diff options
author | Yang Tse <yangsita@gmail.com> | 2012-06-16 19:20:50 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-06-16 19:20:50 +0200 |
commit | d56e8bcc8aeed07d73a3047c5a5be8bb9df53e0b (patch) | |
tree | 367df2a1d0f1149e7a4bafd58e0629d7909b6d4d /lib/curl_schannel.c | |
parent | 220776de6b06c3350fac5fe78d8a2f68e894fe90 (diff) |
Win32: downplay MS bazillion type synonyms game
Avoid usage of some MS type synonyms to allow compilation with
compiler headers that don't define these, using simpler synonyms.
Diffstat (limited to 'lib/curl_schannel.c')
-rw-r--r-- | lib/curl_schannel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_schannel.c b/lib/curl_schannel.c index 040133824..55fe92a39 100644 --- a/lib/curl_schannel.c +++ b/lib/curl_schannel.c @@ -100,7 +100,7 @@ schannel_connect_step1(struct connectdata *conn, int sockindex) #ifdef ENABLE_IPV6 struct in6_addr addr6; #endif - LPTSTR host_name; + TCHAR *host_name; infof(data, "schannel: connecting to %s:%hu (step 1/3)\n", conn->host.name, conn->remote_port); @@ -263,7 +263,7 @@ schannel_connect_step2(struct connectdata *conn, int sockindex) SecBuffer inbuf[2]; SecBufferDesc inbuf_desc; SECURITY_STATUS sspi_status = SEC_E_OK; - LPTSTR host_name; + TCHAR *host_name; infof(data, "schannel: connecting to %s:%hu (step 2/3)\n", conn->host.name, conn->remote_port); |