aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-11-04 21:55:29 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-11-04 21:55:58 +0100
commit965000129e9eeb27e1ab8805ff3286eae65ebf9b (patch)
tree4a4264737e7220a1b674e7cd9d2df37162fe7cd3 /src
parent0940c6f1b00bd4b6a0bcac75429adb1c0c121a29 (diff)
downloadlibssh-965000129e9eeb27e1ab8805ff3286eae65ebf9b.tar.gz
libssh-965000129e9eeb27e1ab8805ff3286eae65ebf9b.tar.xz
libssh-965000129e9eeb27e1ab8805ff3286eae65ebf9b.zip
doc: Fix doxygen warnings.
Diffstat (limited to 'src')
-rw-r--r--src/channels.c11
-rw-r--r--src/options.c2
2 files changed, 7 insertions, 6 deletions
diff --git a/src/channels.c b/src/channels.c
index 73594f8b..728f6c18 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -3323,17 +3323,18 @@ error:
}
/**
- * @brief Send the exit status to the remote process (as described in RFC 4254, section 6.10).
+ * @brief Send the exit status to the remote process
*
- * Sends the exit status to the remote process.
+ * Sends the exit status to the remote process (as described in RFC 4254,
+ * section 6.10).
* Only SSH-v2 is supported (I'm not sure about SSH-v1).
*
* @param[in] channel The channel to send exit status.
*
- * @param[in] sig The exit status to send
+ * @param[in] exit_status The exit status to send
*
- * @return SSH_OK on success, SSH_ERROR if an error occurred
- * (including attempts to send exit status via SSH-v1 session).
+ * @return SSH_OK on success, SSH_ERROR if an error occurred.
+ * (including attempts to send exit status via SSH-v1 session).
*/
int ssh_channel_request_send_exit_status(ssh_channel channel, int exit_status) {
ssh_buffer buffer = NULL;
diff --git a/src/options.c b/src/options.c
index 46dc0b4b..e02ad4df 100644
--- a/src/options.c
+++ b/src/options.c
@@ -1254,7 +1254,7 @@ static int ssh_bind_options_set_algo(ssh_bind sshbind, int algo,
/**
* @brief This function can set all possible ssh bind options.
*
- * @param session An allocated ssh option structure.
+ * @param sshbind An allocated ssh bind structure.
*
* @param type The option type to set. This could be one of the
* following: