summaryrefslogtreecommitdiffstats
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-03-25 13:46:09 +0100
committerAndreas Schneider <mail@cynapses.org>2010-03-25 13:55:50 +0100
commitaf7f69c515b4b1385db24f78367498e5f080f1bb (patch)
tree2a337ae848c053d36dd8ed016e323754643f2390 /libssh
parentea92d5b2301322298eae55ad5ea1065e26fdeb8e (diff)
downloadlibssh-af7f69c515b4b1385db24f78367498e5f080f1bb.tar.gz
libssh-af7f69c515b4b1385db24f78367498e5f080f1bb.tar.xz
libssh-af7f69c515b4b1385db24f78367498e5f080f1bb.zip
Fixed spelling.
Diffstat (limited to 'libssh')
-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
5 files changed, 7 insertions, 7 deletions
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;