From 5b2da01ec48b8423ae58c71f2d44e03969a999eb Mon Sep 17 00:00:00 2001 From: Juan Jose Nicola Date: Wed, 1 Sep 2021 01:24:25 -0500 Subject: [PATCH] Improve docstring --- nasl/nasl_ssh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nasl/nasl_ssh.c b/nasl/nasl_ssh.c index c3a866096..9a83c031e 100644 --- a/nasl/nasl_ssh.c +++ b/nasl/nasl_ssh.c @@ -1903,7 +1903,7 @@ nasl_ssh_shell_close (lex_ctxt *lexic) */ /** - * @brief Check if SFTP is enabled. + * @brief Check if the SFTP subsystem is enabled on the remote SSH server. * @naslfn{sftp_enabled_check} * * @nasluparam @@ -1911,7 +1911,8 @@ nasl_ssh_shell_close (lex_ctxt *lexic) * - An SSH session id. * * @naslret An integer: 0 on success, -1 (SSH_ERROR) on Channel request - * subsystem failure. Greather than 0 means an error during SFTP init. + * subsystem failure. Greater than 0 means an error during SFTP init. NULL + * indicates a failure during session id verification. * * @param[in] lexic Lexical context of NASL interpreter. */