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:
parent
f0fe66f13c
commit
48f2a96a60
@ -239,8 +239,8 @@ static int ldap_win_bind(struct connectdata *conn, LDAP *server,
|
|||||||
PTCHAR inpass = NULL;
|
PTCHAR inpass = NULL;
|
||||||
|
|
||||||
if(user && passwd && (conn->data->set.httpauth & CURLAUTH_BASIC)) {
|
if(user && passwd && (conn->data->set.httpauth & CURLAUTH_BASIC)) {
|
||||||
inuser = Curl_convert_UTF8_to_tchar((char*)user);
|
inuser = Curl_convert_UTF8_to_tchar((char *) user);
|
||||||
inpass = Curl_convert_UTF8_to_tchar((char*)passwd);
|
inpass = Curl_convert_UTF8_to_tchar((char *) passwd);
|
||||||
|
|
||||||
rc = ldap_bind_s(server, inuser, inpass, method);
|
rc = ldap_bind_s(server, inuser, inpass, method);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user