[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in Doxygen tutorial


On Thursday 13 August 2015 19:42:25 Anthony Baker wrote:
> 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."
> 

I've fixed it in master and 0.7. Thanks for the report!


	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


References:
Error in Doxygen tutorialAnthony Baker <AnthonyBaker@xxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org