Re: wininet: Make the passive mode response check case insensitive.

2007-06-07 Thread Hans Leidekker
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

Re: wininet: Make the passive mode response check case insensitive.

2007-06-07 Thread Alexandre Julliard
Francois Gouget <[EMAIL PROTECTED]> writes: > 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. Actually both would be wrong in this case, the comparison should really be done in the C locale. But

Re: wininet: Make the passive mode response check case insensitive.

2007-06-07 Thread Francois Gouget
On Wed, 6 Jun 2007, Hans Leidekker wrote: [...] > Changelog > Make the passive mode response check case insensitive. --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c [...] - if (strncmp(p, "Entering Passive Mode", 21)) + if (strncasecmp(p, "Entering Passive Mode", 21)) You