diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-07-23 08:09:57 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-07-23 08:09:57 +0200 |
commit | 5aa9cf2fcf3fc062f4560df52e3d48d894e0ba6e (patch) | |
tree | e915591576d8c3ac2d450ed078344d5b4a5f2a24 /include/libssh/callbacks.h | |
parent | a9248690961b96aafb9065916f4263ff6ba48c0c (diff) | |
download | libssh-5aa9cf2fcf3fc062f4560df52e3d48d894e0ba6e.tar.gz libssh-5aa9cf2fcf3fc062f4560df52e3d48d894e0ba6e.tar.xz libssh-5aa9cf2fcf3fc062f4560df52e3d48d894e0ba6e.zip |
Add consistency check to ssh_set_callbacks
Diffstat (limited to 'include/libssh/callbacks.h')
-rw-r--r-- | include/libssh/callbacks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/callbacks.h b/include/libssh/callbacks.h index 3ceb385..589c0ae 100644 --- a/include/libssh/callbacks.h +++ b/include/libssh/callbacks.h @@ -244,7 +244,7 @@ typedef struct ssh_packet_callbacks_struct *ssh_packet_callbacks; * * @param cb The callback itself. * - * @return 0 on success, < 0 on error. + * @return SSH_OK on success, SSH_ERROR on error. */ LIBSSH_API int ssh_set_callbacks(ssh_session session, ssh_callbacks cb); |