aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-12-04 22:28:22 +0200
committerRiccardo Spagni <ric@spagni.net>2016-12-04 22:28:22 +0200
commitf2ea2afb772d4377450d2e79ebf44d1e1ffa3ec6 (patch)
tree6573120f4a91770ff630c693e76893a485bc70f4 /src/p2p
parentMerge pull request #1397 (diff)
parentFix a few minor typos (diff)
downloadmonero-f2ea2afb772d4377450d2e79ebf44d1e1ffa3ec6.tar.xz
Merge pull request #1398
f4772bae Fix a few minor typos (Pierre Boyer)
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index ad967459d..442c42517 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -543,7 +543,7 @@ namespace nodetool
} else if (result == 2) {
LOG_PRINT_L0("IGD was found but reported as not connected.");
} else if (result == 3) {
- LOG_PRINT_L0("UPnP device was found but not recoginzed as IGD.");
+ LOG_PRINT_L0("UPnP device was found but not recognized as IGD.");
} else {
LOG_ERROR("UPNP_GetValidIGD returned an unknown result code.");
}
@@ -1485,10 +1485,10 @@ namespace nodetool
template<class t_payload_net_handler>
bool node_server<t_payload_net_handler>::log_peerlist()
{
- std::list<peerlist_entry> pl_wite;
+ std::list<peerlist_entry> pl_white;
std::list<peerlist_entry> pl_gray;
- m_peerlist.get_peerlist_full(pl_gray, pl_wite);
- LOG_PRINT_L0(ENDL << "Peerlist white:" << ENDL << print_peerlist_to_string(pl_wite) << ENDL << "Peerlist gray:" << ENDL << print_peerlist_to_string(pl_gray) );
+ m_peerlist.get_peerlist_full(pl_gray, pl_white);
+ LOG_PRINT_L0(ENDL << "Peerlist white:" << ENDL << print_peerlist_to_string(pl_white) << ENDL << "Peerlist gray:" << ENDL << print_peerlist_to_string(pl_gray) );
return true;
}
//-----------------------------------------------------------------------------------