[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in Doxygen tutorial
[Thread Prev] | [Thread Next]
- Subject: Re: Error in Doxygen tutorial
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 18 Aug 2015 09:05:36 +0200
- To: libssh@xxxxxxxxxx
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
Error in Doxygen tutorial | Anthony Baker <AnthonyBaker@xxxxxxxx> |