Made pqiStore accept packets even after deserialization error, so that it is retrocompatible (Patch from Phenom)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-06-23 21:53:14 +00:00
parent 02f36b3bbb
commit 748f7db7a4

View file

@ -411,10 +411,11 @@ bool pqiSSLstore::getEncryptedItems(std::list<RsItem* >& rsItemList)
{ {
RsItem* item; RsItem* item;
while(NULL != (item = GetItem())) do
{ {
if (NULL != (item = GetItem()))
rsItemList.push_back(item); rsItemList.push_back(item);
} } while (enc_bio->isactive() && enc_bio->moretoread());
return true; return true;
} }