# HG changeset patch # User Ma Yuan # Date 1155387436 0 # Node ID c2f3cd6626e1ae1b2846c545e91bbd1ade85ac29 # Parent 1ffbe358c877f246e239c606ba668f5cc5b79d5a [gaim-migrate @ 16722] change some minor bug committed by Ma Yuan committer: Ethan Blanton diff -r 1ffbe358c877 -r c2f3cd6626e1 src/protocols/msn/notification.c --- 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); diff -r 1ffbe358c877 -r c2f3cd6626e1 src/protocols/msn/oim.c --- 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; diff -r 1ffbe358c877 -r c2f3cd6626e1 src/protocols/msn/oim.h --- 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);