Mercurial > pidgin
changeset 20488:64c322c3b1b0
Some more cleanups
author | Carlos Silva <typ0@pidgin.im> |
---|---|
date | Mon, 03 Sep 2007 06:15:55 +0000 |
parents | 9812222e89d4 |
children | 321d25932f5e |
files | libpurple/protocols/msn/msn.c libpurple/protocols/msn/notification.c libpurple/protocols/msn/userlist.c |
diffstat | 3 files changed, 2 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Mon Sep 03 06:07:20 2007 +0000 +++ b/libpurple/protocols/msn/msn.c Mon Sep 03 06:15:55 2007 +0000 @@ -1162,8 +1162,6 @@ userlist = session->userlist; user = msn_userlist_find_user(userlist, who); - purple_debug_info("MSN", "msn_add_permit()\n"); - if (!session->logged_in) return; @@ -1192,8 +1190,6 @@ userlist = session->userlist; user = msn_userlist_find_user(userlist, who); - purple_debug_info("MSN", "msn_add_deny()\n"); - if (!session->logged_in) return; @@ -1220,8 +1216,6 @@ session = gc->proto_data; userlist = session->userlist; - purple_debug_info("MSN", "msn_rem_permit()\n"); - if (!session->logged_in) return; @@ -1245,8 +1239,6 @@ session = gc->proto_data; userlist = session->userlist; - purple_debug_info("MSN", "msn_rem_deny()\n"); - if (!session->logged_in) return;
--- a/libpurple/protocols/msn/notification.c Mon Sep 03 06:07:20 2007 +0000 +++ b/libpurple/protocols/msn/notification.c Mon Sep 03 06:15:55 2007 +0000 @@ -669,7 +669,6 @@ int adl_count = 0; const char *display_name; - purple_debug_info("::","msn_notification_dump_contact()\n"); adl_node = xmlnode_new("ml"); adl_node->child = NULL; xmlnode_set_attrib(adl_node, "l", "1"); @@ -968,8 +967,6 @@ gint group_id; const char *group_name; - purple_debug_info("::","adg_cmd()\n"); - session = cmdproc->session; group_id = atoi(cmd->params[3]); @@ -1679,7 +1676,6 @@ const char *value; const char *clLastChange; - purple_debug_info("::","profile_msg()\n"); session = cmdproc->session; if (strcmp(msg->remote_user, "Hotmail")) @@ -1864,7 +1860,7 @@ static void delete_oim_msg(MsnCmdProc *cmdproc, MsnMessage *msg) { - purple_debug_info("::","delete_oim_msg()\n"); + purple_debug_misc("MSN Notification","Delete OIM message.\n"); } static void @@ -1976,7 +1972,7 @@ xmlnode *adl_node; char *payload; int payload_len; - purple_debug_info("::","msn_notification_add_buddy()\n"); + cmdproc = notification->servconn->cmdproc; adl_node = xmlnode_new("ml");
--- a/libpurple/protocols/msn/userlist.c Mon Sep 03 06:07:20 2007 +0000 +++ b/libpurple/protocols/msn/userlist.c Mon Sep 03 06:15:55 2007 +0000 @@ -845,8 +845,6 @@ GSList *l; MsnUser * user; - purple_debug_info("::","msn_userlist_load()\n"); - g_return_if_fail(gc != NULL); for (gnode = purple_get_blist()->root; gnode; gnode = gnode->next)