mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09: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
|
* @brief get the server banner
|
||||||
|
*
|
||||||
* @param[in] session The SSH session
|
* @param[in] session The SSH session
|
||||||
|
*
|
||||||
|
* @return Returns the server banner string or NULL.
|
||||||
*/
|
*/
|
||||||
const char* ssh_get_serverbanner(ssh_session session) {
|
const char* ssh_get_serverbanner(ssh_session session) {
|
||||||
if(!session) {
|
if(!session) {
|
||||||
|
|||||||
Reference in New Issue
Block a user