Mercurial > pidgin.yaz
comparison src/protocols/msn/oim.c @ 19789:d99e36279d41
[gaim-migrate @ 17181]
add PSM in tooltips
fix oim bug in windows
committed by MaYuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
author | Ma Yuan <mayuan2006@gmail.com> |
---|---|
date | Wed, 06 Sep 2006 16:14:22 +0000 |
parents | 54f287047d4e |
children | 21cb7a79ac7f |
comparison
equal
deleted
inserted
replaced
19788:2fe6a673f12a | 19789:d99e36279d41 |
---|---|
489 char *passport,*rTime,*msgid,*nickname; | 489 char *passport,*rTime,*msgid,*nickname; |
490 | 490 |
491 mdNode = xmlnode_from_str(xmlmsg, strlen(xmlmsg)); | 491 mdNode = xmlnode_from_str(xmlmsg, strlen(xmlmsg)); |
492 for(mNode = xmlnode_get_child(mdNode, "M"); mNode; | 492 for(mNode = xmlnode_get_child(mdNode, "M"); mNode; |
493 mNode = xmlnode_get_next_twin(mNode)){ | 493 mNode = xmlnode_get_next_twin(mNode)){ |
494 /*email Node*/ | |
494 ENode = xmlnode_get_child(mNode,"E"); | 495 ENode = xmlnode_get_child(mNode,"E"); |
495 passport = xmlnode_get_data(ENode); | 496 passport = xmlnode_get_data(ENode); |
497 /*Index */ | |
496 INode = xmlnode_get_child(mNode,"I"); | 498 INode = xmlnode_get_child(mNode,"I"); |
497 msgid = xmlnode_get_data(INode); | 499 msgid = xmlnode_get_data(INode); |
498 rtNode = xmlnode_get_child(mNode,"RT"); | 500 /*Nickname*/ |
499 rTime = xmlnode_get_data(rtNode); | |
500 nNode = xmlnode_get_child(mNode,"N"); | 501 nNode = xmlnode_get_child(mNode,"N"); |
501 nickname = xmlnode_get_data(nNode); | 502 nickname = xmlnode_get_data(nNode); |
502 gaim_debug_info("MaYuan","E:{%s},I:{%s},rTime:{%s}\n",passport,msgid,rTime); | 503 /*receive time*/ |
504 rtNode = xmlnode_get_child(mNode,"RT"); | |
505 if(rtNode != NULL) | |
506 rTime = xmlnode_get_data(rtNode); | |
507 /* gaim_debug_info("MaYuan","E:{%s},I:{%s},rTime:{%s}\n",passport,msgid,rTime);*/ | |
503 | 508 |
504 oim->oim_list = g_list_append(oim->oim_list,msgid); | 509 oim->oim_list = g_list_append(oim->oim_list,msgid); |
505 msn_oim_post_single_get_msg(oim,msgid); | 510 msn_oim_post_single_get_msg(oim,msgid); |
506 g_free(passport); | 511 g_free(passport); |
507 // g_free(msgid); | 512 // g_free(msgid); |