Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/google.c @ 28889:fa7f3426ed13
jabber: Convert to purple_debug_* convenience functions.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 06 Nov 2009 08:39:49 +0000 |
parents | 54755c2d6836 |
children | 08a52bdd9619 7b4ade7c6d8a e77894113a14 0712ce23901e |
comparison
equal
deleted
inserted
replaced
28888:562fd22dbe89 | 28889:fa7f3426ed13 |
---|---|
908 if (from) | 908 if (from) |
909 xmlnode_set_attrib(iq->node, "to", from); | 909 xmlnode_set_attrib(iq->node, "to", from); |
910 xmlnode_set_attrib(iq->node, "id", id); | 910 xmlnode_set_attrib(iq->node, "id", id); |
911 jabber_iq_send(iq); | 911 jabber_iq_send(iq); |
912 | 912 |
913 purple_debug(PURPLE_DEBUG_MISC, "jabber", | 913 purple_debug_misc("jabber", |
914 "Got new mail notification. Sending request for more info\n"); | 914 "Got new mail notification. Sending request for more info\n"); |
915 | 915 |
916 iq = jabber_iq_new_query(js, JABBER_IQ_GET, "google:mail:notify"); | 916 iq = jabber_iq_new_query(js, JABBER_IQ_GET, "google:mail:notify"); |
917 jabber_iq_set_callback(iq, jabber_gmail_parse, NULL); | 917 jabber_iq_set_callback(iq, jabber_gmail_parse, NULL); |
918 query = xmlnode_get_child(iq->node, "query"); | 918 query = xmlnode_get_child(iq->node, "query"); |
1092 GList *l = jb->resources; | 1092 GList *l = jb->resources; |
1093 while (l) { | 1093 while (l) { |
1094 jbr = l->data; | 1094 jbr = l->data; |
1095 if (jbr && jbr->name) | 1095 if (jbr && jbr->name) |
1096 { | 1096 { |
1097 purple_debug(PURPLE_DEBUG_MISC, "jabber", "Removing resource %s\n", jbr->name); | 1097 purple_debug_misc("jabber", "Removing resource %s\n", jbr->name); |
1098 jabber_buddy_remove_resource(jb, jbr->name); | 1098 jabber_buddy_remove_resource(jb, jbr->name); |
1099 } | 1099 } |
1100 l = l->next; | 1100 l = l->next; |
1101 } | 1101 } |
1102 } | 1102 } |
1103 | |
1103 purple_prpl_got_user_status(purple_connection_get_account(gc), who, "offline", NULL); | 1104 purple_prpl_got_user_status(purple_connection_get_account(gc), who, "offline", NULL); |
1104 } | 1105 } |
1105 | 1106 |
1106 void jabber_google_roster_rem_deny(PurpleConnection *gc, const char *who) | 1107 void jabber_google_roster_rem_deny(PurpleConnection *gc, const char *who) |
1107 { | 1108 { |