On Thursday 07 June 2007, Francois Gouget wrote:
if (strncmp(p, "Entering Passive Mode", 21))
if (strncasecmp(p, "Entering Passive Mode", 21))
You should not be using str*casecmp() in Wine (because it's a Unix function, and because it uses the wrong locale). Try CompareString() instead.
I'd say it's okay here because we're comparing a fixed string returned from the FTP server (it's mentioned in the RFC for the ASCII based FTP protocol).
-Hans