Modified (all I hope) remaining pqistream -> pqistore for cache file save/loads.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2009-05-12 21:55:50 +00:00
parent 99828dfa41
commit 02fc02d23c
9 changed files with 53 additions and 84 deletions

View file

@ -50,9 +50,9 @@
const int pqistorezone = 9511;
pqistore::pqistore(RsSerialiser *rss, BinInterface *bio_in, int bio_flags_in)
pqistore::pqistore(RsSerialiser *rss, std::string srcId, BinInterface *bio_in, int bio_flags_in)
:PQInterface(""), rsSerialiser(rss), bio(bio_in), bio_flags(bio_flags_in),
nextPkt(NULL)
nextPkt(NULL), mSrcId(srcId)
{
{
std::ostringstream out;
@ -363,6 +363,7 @@ int pqistore::readPkt(RsItem **item_out)
return 0;
}
item->PeerId(mSrcId);
*item_out = item;
return 1;
}