From 80e1be2839b877e55f2847bd8c9a115277608d37 Mon Sep 17 00:00:00 2001 From: drbob Date: Thu, 10 Jul 2008 21:26:10 +0000 Subject: [PATCH] Improved the 'AutoConnect' information git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@646 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/rsserver/p3peers.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libretroshare/src/rsserver/p3peers.cc b/libretroshare/src/rsserver/p3peers.cc index 462dbfcb9..1c8bc4a94 100644 --- a/libretroshare/src/rsserver/p3peers.cc +++ b/libretroshare/src/rsserver/p3peers.cc @@ -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();