From: Mark D. <the...@us...> - 2005-10-24 03:43:59
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29155/src/protocols/jabber Modified Files: message.c Log Message: Kevin tracked this change down from oldstatus. It's sposed to fix incoming formatting on jabber messages, I believe Index: message.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/message.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -p -r1.45 -r1.46 --- message.c 29 Sep 2005 04:05:06 -0000 1.45 +++ message.c 24 Oct 2005 03:43:50 -0000 1.46 @@ -286,7 +286,7 @@ void jabber_message_parse(JabberStream * if(!jm->body) jm->body = xmlnode_to_str(child, NULL); } else if(!strcmp(child->name, "html")) { - if(!jm->xhtml && child->data_sz > 0) + if(!jm->xhtml && xmlnode_get_child(child, "body")) jm->xhtml = xmlnode_to_str(child, NULL); } else if(!strcmp(child->name, "error")) { const char *code = xmlnode_get_attrib(child, "code"); |