mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed uninitialised member in DistantChatPeerInfo and DistantChatDHInfo
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8448 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
825e723a32
commit
725d44985b
@ -65,7 +65,10 @@ private:
|
||||
class DistantChatPeerInfo
|
||||
{
|
||||
public:
|
||||
DistantChatPeerInfo() {}
|
||||
DistantChatPeerInfo() : last_contact(0), last_keep_alive_sent(0), status(0), direction(0)
|
||||
{
|
||||
*aes_key = 0;
|
||||
}
|
||||
|
||||
time_t last_contact ; // used to keep track of working connexion
|
||||
time_t last_keep_alive_sent ; // last time we sent a keep alive packet.
|
||||
@ -81,6 +84,8 @@ private:
|
||||
class DistantChatDHInfo
|
||||
{
|
||||
public:
|
||||
DistantChatDHInfo() : dh(0), direction(0), status(0) {}
|
||||
|
||||
DH *dh ;
|
||||
RsGxsId gxs_id ;
|
||||
RsTurtleGenericTunnelItem::Direction direction ;
|
||||
|
Loading…
Reference in New Issue
Block a user