summaryrefslogtreecommitdiffstats
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-12-18 23:38:27 +0100
committerAndreas Schneider <mail@cynapses.org>2009-12-18 23:45:24 +0100
commitca83b6606629fab6edc5f2ed405b7419f16647ed (patch)
tree19367de0c3aa2d6efaf17b90c40aa21d1f42a43e /libssh
parentd978f9b58a3a2bb2769f2ce61af6116f84ad2979 (diff)
Fixed documentation of ssh_options_copy().
Diffstat (limited to 'libssh')
-rw-r--r--libssh/options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libssh/options.c b/libssh/options.c
index 333c6575..8ba16afb 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()
*/