1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Merge pull request #783 from asdil12/spell

Fix typo: diso -> disco
This commit is contained in:
James Booth 2016-04-02 17:35:27 +01:00
commit 3086341e68
2 changed files with 5 additions and 5 deletions

View File

@ -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); const char *type = xmpp_stanza_get_type(stanza);
ProfRoomInfoData *cb_data = (ProfRoomInfoData *)userdata; 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 // handle error responses
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) { 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); const char *type = xmpp_stanza_get_type(stanza);
if (from) { if (from) {
log_info("Received diso#info response from: %s", from); log_info("Received disco#info response from: %s", from);
} else { } else {
log_info("Received diso#info response"); log_info("Received disco#info response");
} }
// handle error responses // handle error responses
@ -1820,7 +1820,7 @@ _disco_info_response_id_handler(xmpp_stanza_t *const stanza, void *const userdat
static void static void
_disco_items_result_handler(xmpp_stanza_t *const stanza) _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 *id = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_ID);
const char *from = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM); const char *from = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM);
GSList *items = NULL; GSList *items = NULL;

View File

@ -576,7 +576,7 @@ _handle_caps(char *jid, XMPPCaps *caps)
iq_send_caps_request_legacy(jid, id, caps->node, caps->ver); iq_send_caps_request_legacy(jid, id, caps->node, caps->ver);
free(id); free(id);
} else { } 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);
} }
} }