summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libssh/libssh.h2
-rw-r--r--libssh/auth.c2
-rw-r--r--libssh/channels.c4
-rw-r--r--libssh/client.c2
-rw-r--r--libssh/options.c4
-rw-r--r--libssh/pcap.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 2c90aa2b..75f088aa 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -231,7 +231,7 @@ enum {
/** Only rare and noteworthy events
*/
SSH_LOG_RARE,
- /** High level protocol informations
+ /** High level protocol information
*/
SSH_LOG_PROTOCOL,
/** Lower level protocol infomations, packet level
diff --git a/libssh/auth.c b/libssh/auth.c
index 11e327fb..399b02db 100644
--- a/libssh/auth.c
+++ b/libssh/auth.c
@@ -1381,7 +1381,7 @@ int ssh_userauth_kbdint(ssh_session session, const char *user,
/*
* If we are at this point, it ss because session->kbdint exists.
- * It means the user has set some informations there we need to send
+ * It means the user has set some information there we need to send
* the server and then we need to ack the status (new questions or ok
* pass in).
*/
diff --git a/libssh/channels.c b/libssh/channels.c
index b976b718..b1f83161 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -575,7 +575,7 @@ static void channel_rcv_request(ssh_session session) {
/*
* channel_handle() is called by packet_wait(), for example when there is
- * channel informations to handle.
+ * channel information to handle.
*/
void channel_handle(ssh_session session, int type){
enter_function();
@@ -1818,7 +1818,7 @@ int channel_read_buffer(ssh_channel channel, ssh_buffer buffer, uint32_t count,
}
if (count == 0) {
- /* write the ful buffer informations */
+ /* write the ful buffer information */
if (buffer_add_data(buffer, buffer_get_rest(stdbuf),
buffer_get_rest_len(stdbuf)) < 0) {
leave_function();
diff --git a/libssh/client.c b/libssh/client.c
index 80816b25..4c4f6493 100644
--- a/libssh/client.c
+++ b/libssh/client.c
@@ -699,7 +699,7 @@ error:
const char *ssh_copyright(void) {
return SSH_STRINGIFY(LIBSSH_VERSION) " (c) 2003-2008 Aris Adamantiadis "
"(aris@0xbadc0de.be) Distributed under the LGPL, please refer to COPYING"
- "file for informations about your rights";
+ "file for information about your rights";
}
/** @} */
/* vim: set ts=2 sw=2 et cindent: */
diff --git a/libssh/options.c b/libssh/options.c
index 860302d8..dafd72e0 100644
--- a/libssh/options.c
+++ b/libssh/options.c
@@ -613,7 +613,7 @@ int ssh_options_set(ssh_session session, enum ssh_options_e type,
}
break;
default:
- ssh_set_error(session, SSH_REQUEST_DENIED, "Unkown ssh option %d", type);
+ ssh_set_error(session, SSH_REQUEST_DENIED, "Unknown ssh option %d", type);
return -1;
break;
}
@@ -827,7 +827,7 @@ int ssh_bind_options_set(ssh_bind sshbind, enum ssh_bind_options_e type,
}
break;
default:
- ssh_set_error(sshbind, SSH_REQUEST_DENIED, "Unkown ssh option %d", type);
+ ssh_set_error(sshbind, SSH_REQUEST_DENIED, "Unknown ssh option %d", type);
return -1;
break;
}
diff --git a/libssh/pcap.c b/libssh/pcap.c
index 09a691b3..40e69670 100644
--- a/libssh/pcap.c
+++ b/libssh/pcap.c
@@ -91,7 +91,7 @@ struct ssh_pcap_context_struct {
ssh_session session;
ssh_pcap_file file;
int connected;
- /* All of these informations are useful to generate
+ /* All of these information are useful to generate
* the dummy IP and TCP packets
*/
uint32_t ipsource;