mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-31 18:36:24 -05:00
Added missing initializations of members in constructor of TorControl
This commit is contained in:
parent
085e102ce1
commit
057e872eca
@ -68,6 +68,11 @@ TorControl::TorControl()
|
|||||||
: mControlPort(0),mSocksPort(0),mStatus(NotConnected), mTorStatus(TorOffline),mHasOwnership(false)
|
: mControlPort(0),mSocksPort(0),mStatus(NotConnected), mTorStatus(TorOffline),mHasOwnership(false)
|
||||||
{
|
{
|
||||||
mSocket = new TorControlSocket(this);
|
mSocket = new TorControlSocket(this);
|
||||||
|
mControlPort = 0;
|
||||||
|
mSocksPort = 0;
|
||||||
|
mStatus = NotConnected;
|
||||||
|
mTorStatus = TorUnknown;
|
||||||
|
mHasOwnership = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static RsTorConnectivityStatus torConnectivityStatus(Tor::TorControl::Status t)
|
static RsTorConnectivityStatus torConnectivityStatus(Tor::TorControl::Status t)
|
||||||
|
Loading…
Reference in New Issue
Block a user