From 37cce98f7e2b3636aa4224f9848522e7fcfc9995 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 13 Mar 2013 22:26:15 +0100 Subject: [PATCH] Doc: fix a few broken parameters Reviewed-by: Andreas Schneider --- include/libssh/server.h | 1 - src/server.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/libssh/server.h b/include/libssh/server.h index 0c318cbb..dbffecdd 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -55,7 +55,6 @@ typedef struct ssh_bind_struct* ssh_bind; * @brief Incoming connection callback. This callback is called when a ssh_bind * has a new incoming connection. * @param sshbind Current sshbind session handler - * @param message the actual message * @param userdata Userdata to be passed to the callback function. */ typedef void (*ssh_bind_incoming_connection_callback) (ssh_bind sshbind, diff --git a/src/server.c b/src/server.c index 1acaac7a..cea30257 100644 --- a/src/server.c +++ b/src/server.c @@ -527,8 +527,8 @@ static int ssh_server_kex_termination(void *s){ /** Set the acceptable authentication methods to be sent to * client. * @param[in] session the SSH server session - * @param[in] Bitfield of authentication methods to be accepted, - * e.g. SSH_AUTH_METHOD_PUBLICKEY + * @param[in] auth_methods Bitfield of authentication methods + * to be accepted, e.g. SSH_AUTH_METHOD_PUBLICKEY */ void ssh_set_auth_methods(ssh_session session, int auth_methods){ /* accept only methods in range */