summaryrefslogtreecommitdiffstats
path: root/libssh/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/options.c')
-rw-r--r--libssh/options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libssh/options.c b/libssh/options.c
index 333c657..8ba16af 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -50,9 +50,11 @@
* If you make several sessions with the same options this is useful. You
* cannot use twice the same option structure in ssh_session_connect.
*
- * @param opt Option structure to copy.
+ * @param src The session to use to copy the options.
*
- * @returns New copied option structure, NULL on error.
+ * @param dest The session to copy the options to.
+ *
+ * @returns 0 on sucess, -1 on error with errno set.
*
* @see ssh_session_connect()
*/