mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Added patch from AsamK:
- Fixed compile of FeedReader plugin with libxml2 < 2.8 - Enabled compile of FeedReader plugin for all systems git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6061 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f488dbd15a
commit
6d9782217b
2 changed files with 6 additions and 6 deletions
|
@ -107,7 +107,11 @@ bool XMLWrapper::convertFromString(const char *text, xmlChar *&xmlText)
|
|||
int ret = xmlCharEncInFunc(mCharEncodingHandler, out, in);
|
||||
if (ret >= 0) {
|
||||
result = true;
|
||||
#if LIBXML_VERSION >= 20800
|
||||
xmlText = xmlBufferDetach(out);
|
||||
#else
|
||||
xmlText = xmlStrdup(xmlBufferContent(out));
|
||||
#endif
|
||||
}
|
||||
|
||||
xmlBufferFree(in);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue