mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
fixed #651. check is destination is set
This commit is contained in:
parent
b54892a783
commit
e78ccc6bec
11
BOB.cpp
11
BOB.cpp
|
@ -568,10 +568,15 @@ namespace client
|
||||||
{
|
{
|
||||||
std::stringstream s;
|
std::stringstream s;
|
||||||
s << "DATA"; s << " NICKNAME: "; s << m_Nickname;
|
s << "DATA"; s << " NICKNAME: "; s << m_Nickname;
|
||||||
if (m_CurrentDestination->GetLocalDestination ()->IsReady ())
|
if (m_CurrentDestination)
|
||||||
s << " STARTING: false RUNNING: true STOPPING: false";
|
{
|
||||||
|
if (m_CurrentDestination->GetLocalDestination ()->IsReady ())
|
||||||
|
s << " STARTING: false RUNNING: true STOPPING: false";
|
||||||
|
else
|
||||||
|
s << " STARTING: true RUNNING: false STOPPING: false";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
s << " STARTING: true RUNNING: false STOPPING: false";
|
s << " STARTING: false RUNNING: false STOPPING: false";
|
||||||
s << " KEYS: true"; s << " QUIET: "; s << (m_IsQuiet ? "true":"false");
|
s << " KEYS: true"; s << " QUIET: "; s << (m_IsQuiet ? "true":"false");
|
||||||
if (m_InPort)
|
if (m_InPort)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue