about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@users.noreply.github.com>2016-04-02 17:35:27 +0100
committerJames Booth <boothj5@users.noreply.github.com>2016-04-02 17:35:27 +0100
commit3086341e6882997009d30f6815f37ddc206eba7e (patch)
tree49d1eb0ac86da50995e496f1d7b161d6875cbe94
parent6f81f2b8454e4aa668b18b2f7cd9da8a79e5b85e (diff)
parent4b1481987dc13eba79ac40a6e193fff9bf696ca2 (diff)
downloadprofani-tty-3086341e6882997009d30f6815f37ddc206eba7e.tar.gz
Merge pull request #783 from asdil12/spell
Fix typo: diso -> disco
-rw-r--r--src/xmpp/iq.c8
-rw-r--r--src/xmpp/presence.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 17f129b0..1242c6cf 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -1611,7 +1611,7 @@ _room_info_response_id_handler(xmpp_stanza_t *const stanza, void *const userdata
 {
     const char *type = xmpp_stanza_get_type(stanza);
     ProfRoomInfoData *cb_data = (ProfRoomInfoData *)userdata;
-    log_info("Received diso#info response for room: %s", cb_data->room);
+    log_info("Received disco#info response for room: %s", cb_data->room);
 
     // handle error responses
     if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
@@ -1747,9 +1747,9 @@ _disco_info_response_id_handler(xmpp_stanza_t *const stanza, void *const userdat
     const char *type = xmpp_stanza_get_type(stanza);
 
     if (from) {
-        log_info("Received diso#info response from: %s", from);
+        log_info("Received disco#info response from: %s", from);
     } else {
-        log_info("Received diso#info response");
+        log_info("Received disco#info response");
     }
 
     // handle error responses
@@ -1820,7 +1820,7 @@ _disco_info_response_id_handler(xmpp_stanza_t *const stanza, void *const userdat
 static void
 _disco_items_result_handler(xmpp_stanza_t *const stanza)
 {
-    log_debug("Received diso#items response");
+    log_debug("Received disco#items response");
     const char *id = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_ID);
     const char *from = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM);
     GSList *items = NULL;
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c
index 24d2729a..cf0c814a 100644
--- a/src/xmpp/presence.c
+++ b/src/xmpp/presence.c
@@ -576,7 +576,7 @@ _handle_caps(char *jid, XMPPCaps *caps)
         iq_send_caps_request_legacy(jid, id, caps->node, caps->ver);
         free(id);
     } else {
-        log_info("No hash specified: %s, could not create ver string, not sending service disovery request.", jid);
+        log_info("No hash specified: %s, could not create ver string, not sending service discovery request.", jid);
     }
 }