mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
session: Document return value of ssh_get_serverbanner().
BUG: https://red.libssh.org/issues/122
This commit is contained in:
@@ -268,7 +268,10 @@ void ssh_free(ssh_session session) {
|
||||
|
||||
/**
|
||||
* @brief get the server banner
|
||||
*
|
||||
* @param[in] session The SSH session
|
||||
*
|
||||
* @return Returns the server banner string or NULL.
|
||||
*/
|
||||
const char* ssh_get_serverbanner(ssh_session session) {
|
||||
if(!session) {
|
||||
|
||||
Reference in New Issue
Block a user