pidgin: f38dff3a: The session parameter appears unused in ...
qulogic at pidgin.im
qulogic at pidgin.im
Sat Jul 17 20:52:37 EDT 2010
----------------------------------------------------------------------
Revision: f38dff3ad576d850f799c5f1624565060546323b
Parent: bf254d85fb121a0a699992e1f391b65d0e37b05d
Author: qulogic at pidgin.im
Date: 07/17/10 16:13:29
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f38dff3ad576d850f799c5f1624565060546323b
Changelog:
The session parameter appears unused in msn_add_contact_xml.
Changes against parent bf254d85fb121a0a699992e1f391b65d0e37b05d
patched libpurple/protocols/msn/notification.c
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c 71c65de3d7d7119f105f39002f5d98c8856c748e
+++ libpurple/protocols/msn/notification.c fc71e11bcde07d83376358db8174a7d71ab79b79
@@ -409,7 +409,7 @@ static void
/* add contact to xmlnode */
static void
-msn_add_contact_xml(MsnSession *session, xmlnode *mlNode,const char *passport, MsnListOp list_op, MsnNetwork networkId)
+msn_add_contact_xml(xmlnode *mlNode, const char *passport, MsnListOp list_op, MsnNetwork networkId)
{
xmlnode *d_node,*c_node;
char **tokens;
@@ -543,8 +543,8 @@ update_contact_network(MsnSession *sessi
adl_node = xmlnode_new("ml");
xmlnode_set_attrib(adl_node, "l", "1");
- msn_add_contact_xml(session, adl_node, passport,
- user->list_op & MSN_LIST_OP_MASK, network);
+ msn_add_contact_xml(adl_node, passport,
+ user->list_op & MSN_LIST_OP_MASK, network);
payload = xmlnode_to_str(adl_node, &payload_len);
msn_notification_post_adl(session->notification->cmdproc, payload, payload_len);
g_free(payload);
@@ -600,8 +600,9 @@ msn_notification_dump_contact(MsnSession
}
if (user->networkid != MSN_NETWORK_UNKNOWN) {
- msn_add_contact_xml(session, adl_node, user->passport,
- user->list_op & MSN_LIST_OP_MASK, user->networkid);
+ msn_add_contact_xml(adl_node, user->passport,
+ user->list_op & MSN_LIST_OP_MASK,
+ user->networkid);
/* each ADL command may contain up to 150 contacts */
if (++adl_count % 150 == 0) {
@@ -630,8 +631,7 @@ msn_notification_dump_contact(MsnSession
purple_debug_info("msn", "Adding FQY address, count is %d\n",
session->adl_fqy);
- msn_add_contact_xml(session, fqy_node, user->passport,
- 0, user->networkid);
+ msn_add_contact_xml(fqy_node, user->passport, 0, user->networkid);
/* each FQY command may contain up to 150 contacts, probably */
if (++fqy_count % 150 == 0) {
@@ -1956,8 +1956,7 @@ modify_unknown_buddy_on_list(MsnSession
node = xmlnode_new("ml");
node->child = NULL;
- msn_add_contact_xml(session, node, passport,
- addrem->list_op, network);
+ msn_add_contact_xml(node, passport, addrem->list_op, network);
payload = xmlnode_to_str(node, &payload_len);
xmlnode_free(node);
@@ -1987,8 +1986,7 @@ msn_notification_add_buddy_to_list(MsnNo
adl_node = xmlnode_new("ml");
adl_node->child = NULL;
- msn_add_contact_xml(notification->session, adl_node, user->passport,
- list_op, user->networkid);
+ msn_add_contact_xml(adl_node, user->passport, list_op, user->networkid);
payload = xmlnode_to_str(adl_node, &payload_len);
xmlnode_free(adl_node);
@@ -2026,8 +2024,7 @@ msn_notification_rem_buddy_from_list(Msn
rml_node = xmlnode_new("ml");
rml_node->child = NULL;
- msn_add_contact_xml(notification->session, rml_node, user->passport,
- list_op, user->networkid);
+ msn_add_contact_xml(rml_node, user->passport, list_op, user->networkid);
payload = xmlnode_to_str(rml_node, &payload_len);
xmlnode_free(rml_node);
More information about the Commits
mailing list