Changes in protocols/jabber/xmlparse.c [5d6c178:b7d3cc34]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/xmlparse.c
r5d6c178 rb7d3cc34 1461 1461 s = protocolEncodingName; 1462 1462 #endif 1463 if ( ns ? XmlInitEncodingNS(&initEncoding, &encoding, s) : XmlInitEncoding(&initEncoding, &encoding, s))1463 if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s)) 1464 1464 return XML_ERROR_NONE; 1465 1465 return handleUnknownEncoding(parser, protocolEncodingName); … … 1475 1475 int standalone = -1; 1476 1476 if (!(ns 1477 ? XmlParseXmlDeclNS(isGeneralTextEntity, 1477 ? XmlParseXmlDeclNS 1478 : XmlParseXmlDecl)(isGeneralTextEntity, 1478 1479 encoding, 1479 1480 s, … … 1483 1484 &encodingName, 1484 1485 &newEncoding, 1485 &standalone) 1486 : XmlParseXmlDecl(isGeneralTextEntity, 1487 encoding, 1488 s, 1489 next, 1490 &eventPtr, 1491 &version, 1492 &encodingName, 1493 &newEncoding, 1494 &standalone))) 1486 &standalone)) 1495 1487 return XML_ERROR_SYNTAX; 1496 1488 if (!isGeneralTextEntity && standalone == 1) … … 1545 1537 } 1546 1538 enc = (ns 1547 ? XmlInitUnknownEncodingNS(unknownEncodingMem, 1539 ? XmlInitUnknownEncodingNS 1540 : XmlInitUnknownEncoding)(unknownEncodingMem, 1548 1541 info.map, 1549 1542 info.convert, 1550 info.data) 1551 : XmlInitUnknownEncoding(unknownEncodingMem, 1552 info.map, 1553 info.convert, 1554 info.data)); 1543 info.data); 1555 1544 if (enc) { 1556 1545 unknownEncodingData = info.data;
Note: See TracChangeset
for help on using the changeset viewer.