http://api.libssh.org/master/libssh_tutor_sftp.html

in the sftp_read_sync function:
      nwritten = write(fd, buf, nbytes);


ssh_e1.cpp: In function 'int sftp_read_sync(ssh_session, sftp_session)':
ssh_e1.cpp:374:28: error: 'buf' was not declared in this scope
       nwritten = write(fd, buf, nbytes);



One other typo on that same page:
"The example below reads a very big file in asynchronous, nonblocking, mode. 
Each time the data are not ready yet, a counter is incrementer."
Should have "incremented."





Sincerely,

Anthony Baker
Engineer II
(651) 486 4665
[email protected]<mailto:[email protected]>

FICO
Rosedale Corporate Plaza
2665 Long Lake Road, Building C
Roseville, MN 55113
(612) 758 5200
www.fico.com<http://www.fico.com/>


This email and any files transmitted with it are confidential, proprietary and 
intended solely for the individual or entity to whom they are addressed. If you 
have received this email in error please delete it immediately.

Reply via email to