1
0
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:
Andreas Schneider
2013-09-16 10:33:14 +02:00
parent 20658abc78
commit 89853607c5

View File

@@ -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) {