1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

LDAP: fixed checksrc issue

This commit is contained in:
Sergei Nikulov 2017-05-24 00:14:13 +03:00 committed by GitHub
parent f0fe66f13c
commit 48f2a96a60

View File

@ -239,8 +239,8 @@ static int ldap_win_bind(struct connectdata *conn, LDAP *server,
PTCHAR inpass = NULL;
if(user && passwd && (conn->data->set.httpauth & CURLAUTH_BASIC)) {
inuser = Curl_convert_UTF8_to_tchar((char*)user);
inpass = Curl_convert_UTF8_to_tchar((char*)passwd);
inuser = Curl_convert_UTF8_to_tchar((char *) user);
inpass = Curl_convert_UTF8_to_tchar((char *) passwd);
rc = ldap_bind_s(server, inuser, inpass, method);