aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-03-13 22:26:15 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-07-13 14:56:14 +0200
commit37cce98f7e2b3636aa4224f9848522e7fcfc9995 (patch)
tree9eaceb82fe88d819ee8f690455472f56fdcead14
parent7e306a9ec68558d74cf89160675094fe5d66e66c (diff)
downloadlibssh-37cce98f7e2b3636aa4224f9848522e7fcfc9995.tar.gz
libssh-37cce98f7e2b3636aa4224f9848522e7fcfc9995.tar.xz
libssh-37cce98f7e2b3636aa4224f9848522e7fcfc9995.zip
Doc: fix a few broken parameters
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--include/libssh/server.h1
-rw-r--r--src/server.c4
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 */