Archive Index
This month's Index
|
Subject: [libssh2] bug in example/simple/sftp.c
[libssh2] bug in example/simple/sftp.c
From: <junk_at_igrspace.com>
Date: Mon, 24 Sep 2007 04:58:45 -0700 (PDT)
hello,
line 150 prevents example/simple/sftp.c from running as it is supposed to.
userauthlist = libssh2_userauth_list(session, username, sizeof(username));
it should be
userauthlist = libssh2_userauth_list(session, username, strlen(username));
Immanuel Gregoire
-------------------------------------------------------------------------
|