Subject: Re: [libssh2] libssh2-0.15 Problems authenticating

Re: [libssh2] libssh2-0.15 Problems authenticating

From: Guenter Knauf <eflash_at_gmx.net>
Date: Fri, 20 Jul 2007 12:06:04 +0200

Hi Mikhail,

> PT> And the strcasecmp (might have typed it wrong) should probably be
> something
> PT> more like strcmp.

> : strcasecmp, strncasecmp - compare two strings ignoring case

> Does not look like it does exactly the same thing as strcmp.
usually with MSVC you can define:
#define strncasecmp _strnicmp
#define strcasecmp _stricmp

in MingW32 string.h you can find:
strcasecmp (const char * __sz1, const char * __sz2)
  {return _stricmp (__sz1, __sz2);}

strncasecmp (const char * __sz1, const char * __sz2, size_t __sizeMaxCompare)
  {return _strnicmp (__sz1, __sz2, __sizeMaxCompare);}

greetz, Guenter.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-20