From 5aa9cf2fcf3fc062f4560df52e3d48d894e0ba6e Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 23 Jul 2010 08:09:57 +0200 Subject: Add consistency check to ssh_set_callbacks --- include/libssh/callbacks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh/callbacks.h') diff --git a/include/libssh/callbacks.h b/include/libssh/callbacks.h index 3ceb3857..589c0aea 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); -- cgit