changeset 19752:c2f3cd6626e1

[gaim-migrate @ 16722] change some minor bug committed by Ma Yuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Sat, 12 Aug 2006 12:57:16 +0000
parents 1ffbe358c877
children 88b0c434259a
files src/protocols/msn/notification.c src/protocols/msn/oim.c src/protocols/msn/oim.h
diffstat 3 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sat Aug 12 11:20:34 2006 +0000
+++ b/src/protocols/msn/notification.c	Sat Aug 12 12:57:16 2006 +0000
@@ -37,7 +37,7 @@
 /****************************************************************************
  * 	Local Function Prototype
  ****************************************************************************/
-void msn_add_contact_xml(xmlnode *mlNode,char *passport,int list_op,int type);
+void msn_add_contact_xml(xmlnode *mlNode,const char *passport,int list_op,int type);
 
 /**************************************************************************
  * Main
@@ -441,7 +441,7 @@
  **************************************************************************/
 /* add contact to xmlnode */
 void 
-msn_add_contact_xml(xmlnode *mlNode,char *passport,int list_op,int type)
+msn_add_contact_xml(xmlnode *mlNode,const char *passport,int list_op,int type)
 {
 	xmlnode *d_node,*c_node;
 	char **tokens;
@@ -1383,8 +1383,6 @@
 initial_mdata_msg(MsnCmdProc *cmdproc, MsnMessage *msg)
 {
 	MsnSession *session;
-	xmlnode *mdNode;
-	char *end;
 	char **elems, **cur, **tokens;
 
 //	gaim_debug_info("MaYuan","mdata...{%s} \n",msg->body);
--- a/src/protocols/msn/oim.c	Sat Aug 12 11:20:34 2006 +0000
+++ b/src/protocols/msn/oim.c	Sat Aug 12 12:57:16 2006 +0000
@@ -233,7 +233,7 @@
 
 /*parse the oim XML data*/
 void
-msn_parse_oim_msg(MsnOim *oim,char *xmlmsg)
+msn_parse_oim_msg(MsnOim *oim,const char *xmlmsg)
 {
 	xmlnode *mdNode,*mNode,*INode,*nNode,*ENode,*rtNode;
 	char *passport,*rTime,*msgid,*nickname;
--- a/src/protocols/msn/oim.h	Sat Aug 12 11:20:34 2006 +0000
+++ b/src/protocols/msn/oim.h	Sat Aug 12 12:57:16 2006 +0000
@@ -103,7 +103,7 @@
 void msn_oim_destroy(MsnOim *oim);
 void msn_oim_connect(MsnOim *oim);
 
-void msn_parse_oim_msg(MsnOim *oim,char *xmlmsg);
+void msn_parse_oim_msg(MsnOim *oim,const char *xmlmsg);
 
 /*get the OIM message*/
 void msn_oim_get_msg(MsnOim *oim);