aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2015-08-07 22:53:25 +0100
committerVeres Lajos <vlajos@gmail.com>2015-08-07 22:53:25 +0100
commite88fe7da23a43f7129ebf0001f22f25158c6ee4d (patch)
treee15c06267e1d4890b8b9abeafa4a78f198b0395a /protocols/jabber
parente11216ce7cfdd8092e724e824b04f2bee0a7e41b (diff)
typofix - https://github.com/vlajos/misspell_fixer
Diffstat (limited to 'protocols/jabber')
-rw-r--r--protocols/jabber/s5bytestream.c4
-rw-r--r--protocols/jabber/si.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/protocols/jabber/s5bytestream.c b/protocols/jabber/s5bytestream.c
index f9f9d2e1..7081ea85 100644
--- a/protocols/jabber/s5bytestream.c
+++ b/protocols/jabber/s5bytestream.c
@@ -535,7 +535,7 @@ gboolean jabber_bs_recv_handshake(gpointer data, gint fd, b_input_condition cond
/* usually a proxy sends back the 40 bytes address but I encountered at least one (of jabber.cz)
* that sends atyp=0 addrlen=0 and only 6 bytes (one less than one would expect).
* Therefore I removed the wait for more bytes. Since we don't care about what else the proxy
- * is sending, it shouldnt matter */
+ * is sending, it should not matter */
if (bt->tf->ft->sending) {
jabber_bs_send_activate(bt);
@@ -558,7 +558,7 @@ gboolean jabber_bs_recv_handshake(gpointer data, gint fd, b_input_condition cond
* If the handshake failed we can try the next streamhost, if there is one.
* An intelligent sender would probably specify himself as the first streamhost and
* a proxy as the second (Kopete and PSI are examples here). That way, a (potentially)
- * slow proxy is only used if neccessary. This of course also means, that the timeout
+ * slow proxy is only used if necessary. This of course also means, that the timeout
* per streamhost should be kept short. If one or two firewalled adresses are specified,
* they have to timeout first before a proxy is tried.
*/
diff --git a/protocols/jabber/si.c b/protocols/jabber/si.c
index cb2487bc..77f7a752 100644
--- a/protocols/jabber/si.c
+++ b/protocols/jabber/si.c
@@ -185,7 +185,7 @@ void jabber_si_transfer_request(struct im_connection *ic, file_transfer_t *ft, c
jd->filetransfers = g_slist_prepend(jd->filetransfers, tf);
- /* query buddy's features and server's streaming proxies if neccessary */
+ /* query buddy's features and server's streaming proxies if necessary */
if (!tf->bud->features) {
jabber_iq_query_features(ic, bud->full_jid);
@@ -282,7 +282,7 @@ int jabber_si_handle_request(struct im_connection *ic, struct xt_node *node, str
}
if (requestok) {
- /* Figure out who the transfer should come frome... */
+ /* Figure out who the transfer should come from... */
ext_jid = ini_jid;
if ((s = strchr(ini_jid, '/'))) {
@@ -402,7 +402,7 @@ static xt_status jabber_si_handle_response(struct im_connection *ic, struct xt_n
/* All this means we expect something like this: ( I think )
* <iq from=... to=... id=...>
* <si xmlns=si>
- * [ <file xmlns=ft/> ] <-- not neccessary
+ * [ <file xmlns=ft/> ] <-- not necessary
* <feature xmlns=feature>
* <x xmlns=xdata type=submit>
* <field var=stream-method>