diff options
author | Ma Yuan <mayuan2006@gmail.com> | 2006-08-12 12:57:16 +0000 |
---|---|---|
committer | Ma Yuan <mayuan2006@gmail.com> | 2006-08-12 12:57:16 +0000 |
commit | 51a10575719cb1daf3921d795fb03143a6f5c627 (patch) | |
tree | b3ca40bf1a19ac1ebdb299cf8e69706c31c4e4b9 | |
parent | c3c2393686ce50156bc2891c9a8317925bb916e3 (diff) | |
download | pidgin-51a10575719cb1daf3921d795fb03143a6f5c627.tar.gz |
[gaim-migrate @ 16722]
change some minor bug
committed by Ma Yuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
-rw-r--r-- | src/protocols/msn/notification.c | 6 | ||||
-rw-r--r-- | src/protocols/msn/oim.c | 2 | ||||
-rw-r--r-- | src/protocols/msn/oim.h | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/protocols/msn/notification.c b/src/protocols/msn/notification.c index db9964f4ac..8e454e414e 100644 --- a/src/protocols/msn/notification.c +++ b/src/protocols/msn/notification.c @@ -37,7 +37,7 @@ static MsnTable *cbs_table; /**************************************************************************** * 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 @@ chl_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) **************************************************************************/ /* 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 @@ static void 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 --git a/src/protocols/msn/oim.c b/src/protocols/msn/oim.c index 5ad10536d9..84711f2194 100644 --- a/src/protocols/msn/oim.c +++ b/src/protocols/msn/oim.c @@ -233,7 +233,7 @@ msn_oim_report_user(MsnOim *oim,const char *passport,char *msg) /*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 --git a/src/protocols/msn/oim.h b/src/protocols/msn/oim.h index afed509a68..ace8a1ef62 100644 --- a/src/protocols/msn/oim.h +++ b/src/protocols/msn/oim.h @@ -103,7 +103,7 @@ MsnOim * msn_oim_new(MsnSession *session); 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); |