comparison pidgin/gtkimhtml.c @ 23427:0eca6c183d60

xmlParseChunk() never returns less than 0. It retusn an error code from the xmlParserErrors enum. Success is indicated by XML_ERR_OK, which is 0 and is why this 'error check' coincidentally always passed. We now properly debug log xmlParseChunk()-returns errors and disconnect with the XML Parse error if there is a failure. Refinements to follow.
author Evan Schoenberg <evan.s@dreskin.net>
date Fri, 04 Jul 2008 16:07:20 +0000
parents 7ec3dce64369
children 0d0f99cd425e 4af92af950cd
comparison
equal deleted inserted replaced
23426:1b3aea146613 23427:0eca6c183d60