mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-17 18:40:49 -04:00
bug fixing in serialisation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-IdCleaning@7142 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
216e1ba247
commit
00196c58b8
7 changed files with 25 additions and 100 deletions
|
@ -262,6 +262,7 @@ int p3turtle::tick()
|
|||
void p3turtle::locked_addDistantPeer(const TurtleFileHash&,TurtleTunnelId tid)
|
||||
{
|
||||
unsigned char tmp[RsPeerId::SIZE_IN_BYTES] ;
|
||||
memset(tmp,0,RsPeerId::SIZE_IN_BYTES) ;
|
||||
|
||||
((uint32_t*)tmp)[0] = tid ;
|
||||
RsPeerId virtual_peer_id(tmp) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue