mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
Improved the 'AutoConnect' information
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
67a27744f8
commit
80e1be2839
@ -378,20 +378,20 @@ bool p3Peers::getPeerDetails(std::string id, RsPeerDetails &d)
|
||||
{
|
||||
if (pcs.connecttype == RS_NET_CONN_TCP_ALL)
|
||||
{
|
||||
autostr << "TCP";
|
||||
autostr << "Connected: TCP";
|
||||
}
|
||||
else if (pcs.connecttype == RS_NET_CONN_UDP_ALL)
|
||||
{
|
||||
autostr << "UDP";
|
||||
autostr << "Connected: UDP";
|
||||
}
|
||||
else
|
||||
{
|
||||
autostr << "Unknown Connect Method!";
|
||||
autostr << "Connected: Unknown";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
autostr << "Idle";
|
||||
autostr << RsPeerStateString(pcs.state);
|
||||
}
|
||||
|
||||
d.autoconnect = autostr.str();
|
||||
|
Loading…
Reference in New Issue
Block a user