FeedReader plugin:

- Added check of feed parent id in loadList
- Trimmed downloaded xml string to process xml strings with leading spaces

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.5@7358 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-05-09 22:59:30 +00:00
parent 71e5bc87d7
commit e28b4303e0
2 changed files with 25 additions and 9 deletions

View file

@ -70,6 +70,9 @@ void p3FeedReaderThread::run()
RsFeedReaderErrorState result = download(feed, content, icon, errorString);
if (result == RS_FEED_ERRORSTATE_OK) {
/* trim */
XMLWrapper::trimString(content);
mFeedReader->onDownloadSuccess(feed.feedId, content, icon);
} else {
mFeedReader->onDownloadError(feed.feedId, result, errorString);