cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [bagder/curl] f18737: sasl_sspi: Fixed SPN not being converted to wchar ...

From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Sun, 10 Aug 2014 13:30:30 +0200

"Steve Holme" <steve_holme_at_hotmail.com> wrote:

> Hehehe - Slight slip of the keyboard there but in some respects relevant ;-)
>
> However, I meant "comments are welcome".

I'm not sure, but maybe a simple:
  #undef _UNICODE
  #undef UNICODE

at the top of ldap.c should work. Otherwise things like 'struct hostname::name'
in urldata.h should be turned into 'TCHAR*'. I hope that doesn't happen.
So with the above #undef, this:
    server = ldap_init(conn->host.name, (int)conn->port);

is really the ASCII version:
    server = ldap_initA(conn->host.name, (int)conn->port);

--gv

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-10