mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-16 00:12:43 +00:00
correct status response
This commit is contained in:
parent
2793eeb10a
commit
11585327bf
16
BOB.cpp
16
BOB.cpp
@ -567,21 +567,21 @@ namespace client
|
|||||||
if (m_Nickname == operand)
|
if (m_Nickname == operand)
|
||||||
{
|
{
|
||||||
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->GetLocalDestination ()->IsReady ())
|
||||||
s << " STARTING:false RUNNING:true STOPPING:false";
|
s << " STARTING: false RUNNING: true STOPPING: false";
|
||||||
else
|
else
|
||||||
s << " STARTING:true RUNNING:false STOPPING:false";
|
s << " STARTING: true 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)
|
||||||
{
|
{
|
||||||
s << " INPORT:" << m_InPort;
|
s << " INPORT: " << m_InPort;
|
||||||
s << " INHOST:" << (m_Address.length () > 0 ? m_Address : "127.0.0.1");
|
s << " INHOST: " << (m_Address.length () > 0 ? m_Address : "127.0.0.1");
|
||||||
}
|
}
|
||||||
if (m_OutPort)
|
if (m_OutPort)
|
||||||
{
|
{
|
||||||
s << " OUTPORT:" << m_OutPort;
|
s << " OUTPORT: " << m_OutPort;
|
||||||
s << " OUTHOST:" << (m_Address.length () > 0 ? m_Address : "127.0.0.1");
|
s << " OUTHOST: " << (m_Address.length () > 0 ? m_Address : "127.0.0.1");
|
||||||
}
|
}
|
||||||
SendReplyOK (s.str().c_str());
|
SendReplyOK (s.str().c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user