aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorPierre Boyer <pierre.s.boyer@gmail.com>2016-12-04 14:13:54 +0100
committerPierre Boyer <pierre.s.boyer@gmail.com>2016-12-04 14:13:54 +0100
commitf4772bae812cdab9cca3864d79cdbec7abe5a114 (patch)
tree434455673de9c67c5ed71c4d37a936610012df56 /src/p2p
parentMerge pull request #1372 (diff)
downloadmonero-f4772bae812cdab9cca3864d79cdbec7abe5a114.tar.xz
Fix a few minor typos
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 b5bfc2979..d7c48f991 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -541,7 +541,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.");
}
@@ -1477,10 +1477,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;
}
//-----------------------------------------------------------------------------------