diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-12-18 23:38:27 +0100 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-12-18 23:38:27 +0100 |
commit | ed257b982a70ede420d38c4a9bfe4dfa384bc52a (patch) | |
tree | 6df769b2de837ee31d742504e1043be1f852cb93 /libssh/options.c | |
parent | 1b7877f6edb4ec5d4de2dc66b604445e1847b3b8 (diff) | |
download | libssh-ed257b982a70ede420d38c4a9bfe4dfa384bc52a.tar.gz libssh-ed257b982a70ede420d38c4a9bfe4dfa384bc52a.tar.xz libssh-ed257b982a70ede420d38c4a9bfe4dfa384bc52a.zip |
Fixed documentation of ssh_options_copy().
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 6 |
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() */ |