aboutsummaryrefslogtreecommitdiff
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:29 +0100
commit6f0f1ef29206a42dd5410df066a7560082c7c4bc (patch)
tree21c710ab0a7fb7239c4ea73e2799539289552f42
parentb12f3f38c722e31da7dca88fe6d56ae65692d2af (diff)
downloadlibssh-6f0f1ef29206a42dd5410df066a7560082c7c4bc.tar.gz
libssh-6f0f1ef29206a42dd5410df066a7560082c7c4bc.tar.xz
libssh-6f0f1ef29206a42dd5410df066a7560082c7c4bc.zip
doc: Fix doxygen warnings.
-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 a006ab36..f7bcded2 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -3348,17 +3348,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: