mirror of
https://github.com/libssh2/libssh2.git
synced 2025-07-29 13:01:14 +03:00
After a mention from Ben Kibbey we now let knownhost_writeline() return the
length of the actual data it returns, excluding the trailing zero. I also updated the man page for libssh2_knownhost_writeline() accordingly.
This commit is contained in:
@ -23,7 +23,8 @@ the 'type' output format.
|
||||
\fIbuflen\fP is the size of the \fIbuffer\fP. See RETURN VALUE about the size.
|
||||
|
||||
\fIoutlen\fP must be a pointer to a size_t variable that will get the output
|
||||
length stored
|
||||
length of the stored data chunk. The number does not included the trailing
|
||||
zero!
|
||||
|
||||
\fItype\fP specifies what file type it is, and
|
||||
\fILIBSSH2_KNOWNHOST_FILE_OPENSSH\fP is the only currently supported
|
||||
|
Reference in New Issue
Block a user