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

Re: [libssh2] libssh2-0.15 Problems authenticating

From: Paul Thomas <thomaspu_at_gmail.com>
Date: Thu, 19 Jul 2007 23:27:38 -0400

On a side note, the ssh2 example needs a little modification to properly
compile (at least on vs 2005 ;p ). There's two things that need to be
changed.

The #include <libssh2_config.h> needs to be listed first in the include
list. Otherwise some compilers will not have the #defines properly setup
before the other #includes are examined. VS 2005 is an example of this.

And the strcasecmp (might have typed it wrong) should probably be something
more like strcmp. I couldn't find the proper include for the first one. Its
probably better to use strcmp anyway just because it seems to be more
standard, you only need: #include <string.h>

Paul

-------------------------------------------------------------------------
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