Mercurial > pidgin
comparison libpurple/protocols/msn/notification.c @ 20488:64c322c3b1b0
Some more cleanups
author | Carlos Silva <typ0@pidgin.im> |
---|---|
date | Mon, 03 Sep 2007 06:15:55 +0000 |
parents | ff4ae9dde291 |
children | 82d8797e06f3 |
comparison
equal
deleted
inserted
replaced
20487:9812222e89d4 | 20488:64c322c3b1b0 |
---|---|
667 char *payload; | 667 char *payload; |
668 int payload_len; | 668 int payload_len; |
669 int adl_count = 0; | 669 int adl_count = 0; |
670 const char *display_name; | 670 const char *display_name; |
671 | 671 |
672 purple_debug_info("::","msn_notification_dump_contact()\n"); | |
673 adl_node = xmlnode_new("ml"); | 672 adl_node = xmlnode_new("ml"); |
674 adl_node->child = NULL; | 673 adl_node->child = NULL; |
675 xmlnode_set_attrib(adl_node, "l", "1"); | 674 xmlnode_set_attrib(adl_node, "l", "1"); |
676 | 675 |
677 /*get the userlist*/ | 676 /*get the userlist*/ |
966 { | 965 { |
967 MsnSession *session; | 966 MsnSession *session; |
968 gint group_id; | 967 gint group_id; |
969 const char *group_name; | 968 const char *group_name; |
970 | 969 |
971 purple_debug_info("::","adg_cmd()\n"); | |
972 | |
973 session = cmdproc->session; | 970 session = cmdproc->session; |
974 | 971 |
975 group_id = atoi(cmd->params[3]); | 972 group_id = atoi(cmd->params[3]); |
976 | 973 |
977 group_name = purple_url_decode(cmd->params[2]); | 974 group_name = purple_url_decode(cmd->params[2]); |
1677 { | 1674 { |
1678 MsnSession *session; | 1675 MsnSession *session; |
1679 const char *value; | 1676 const char *value; |
1680 const char *clLastChange; | 1677 const char *clLastChange; |
1681 | 1678 |
1682 purple_debug_info("::","profile_msg()\n"); | |
1683 session = cmdproc->session; | 1679 session = cmdproc->session; |
1684 | 1680 |
1685 if (strcmp(msg->remote_user, "Hotmail")) | 1681 if (strcmp(msg->remote_user, "Hotmail")) |
1686 /* This isn't an official message. */ | 1682 /* This isn't an official message. */ |
1687 return; | 1683 return; |
1862 | 1858 |
1863 /*offline Message Notification*/ | 1859 /*offline Message Notification*/ |
1864 static void | 1860 static void |
1865 delete_oim_msg(MsnCmdProc *cmdproc, MsnMessage *msg) | 1861 delete_oim_msg(MsnCmdProc *cmdproc, MsnMessage *msg) |
1866 { | 1862 { |
1867 purple_debug_info("::","delete_oim_msg()\n"); | 1863 purple_debug_misc("MSN Notification","Delete OIM message.\n"); |
1868 } | 1864 } |
1869 | 1865 |
1870 static void | 1866 static void |
1871 email_msg(MsnCmdProc *cmdproc, MsnMessage *msg) | 1867 email_msg(MsnCmdProc *cmdproc, MsnMessage *msg) |
1872 { | 1868 { |
1974 MsnCmdProc *cmdproc; | 1970 MsnCmdProc *cmdproc; |
1975 MsnListOp list_op = 1 << list_id; | 1971 MsnListOp list_op = 1 << list_id; |
1976 xmlnode *adl_node; | 1972 xmlnode *adl_node; |
1977 char *payload; | 1973 char *payload; |
1978 int payload_len; | 1974 int payload_len; |
1979 purple_debug_info("::","msn_notification_add_buddy()\n"); | 1975 |
1980 cmdproc = notification->servconn->cmdproc; | 1976 cmdproc = notification->servconn->cmdproc; |
1981 | 1977 |
1982 adl_node = xmlnode_new("ml"); | 1978 adl_node = xmlnode_new("ml"); |
1983 adl_node->child = NULL; | 1979 adl_node->child = NULL; |
1984 | 1980 |