From ed257b982a70ede420d38c4a9bfe4dfa384bc52a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 18 Dec 2009 23:38:27 +0100 Subject: [PATCH] Fixed documentation of ssh_options_copy(). --- libssh/options.c | 6 ++++-- 1 file 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() */