mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
Added missing initializations of members in constructor of TorControl
This commit is contained in:
parent
085e102ce1
commit
057e872eca
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue