aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 11:21:12 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 11:21:12 +0200
commit95558d54b0e1e7cf5d3c17aceba5892111c59c55 (patch)
tree15b89f0d00cacb7e03b680d13f4e10412205b3c9 /libssh
parent068a7dfc494f1be5263a0336bba48acc893d66a8 (diff)
downloadlibssh-95558d54b0e1e7cf5d3c17aceba5892111c59c55.tar.gz
libssh-95558d54b0e1e7cf5d3c17aceba5892111c59c55.tar.xz
libssh-95558d54b0e1e7cf5d3c17aceba5892111c59c55.zip
Fix typos in SSH_OPTIONS
Diffstat (limited to 'libssh')
-rw-r--r--libssh/options.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libssh/options.c b/libssh/options.c
index d7afd811..c97ba564 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -42,7 +42,7 @@
/** This structure is freed automaticaly by ssh_disconnect()
* when you use it. \n
* It can be used by only one ssh_connect(), not more.\n
- * also by default, ssh1 support is not allowed
+ * also by default, ssh1 support is not allowed
*
* \brief initializes a new option structure
* \returns an empty intialized option structure.
@@ -575,30 +575,30 @@ int ssh_options_set(ssh_options opt, enum ssh_options_e type,
opt->log_verbosity = *x;
}
- case SSH_OPTTIONS_AUTH_CALLBACK:
+ case SSH_OPTIONS_AUTH_CALLBACK:
if (value == NULL) {
return -1;
} else {
opt->auth_function = (ssh_auth_callback) value;
}
break;
- case SSH_OPTTIONS_AUTH_USERDATA:
+ case SSH_OPTIONS_AUTH_USERDATA:
opt->auth_userdata = (void *) value;
break;
- case SSH_OPTTIONS_LOG_CALLBACK:
+ case SSH_OPTIONS_LOG_CALLBACK:
if (value == NULL) {
return -1;
} else {
opt->log_function = (ssh_log_callback) value;
}
break;
- case SSH_OPTTIONS_LOG_USERDATA:
+ case SSH_OPTIONS_LOG_USERDATA:
opt->auth_userdata = (void *) value;
break;
- case SSH_OPTTIONS_STATUS_CALLBACK:
+ case SSH_OPTIONS_STATUS_CALLBACK:
/* TODO */
break;
- case SSH_OPTTIONS_STATUS_ARG:
+ case SSH_OPTIONS_STATUS_ARG:
/* TODO */
break;
case SSH_OPTIONS_CIPHERS_C_S: