aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/connection_basic.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-05-17 13:16:26 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-05-17 13:16:44 +0100
commitf278fe3883f7d708082a19856eda02fddaf2fc56 (patch)
tree7ed92fcdf936d3650ef4847ed1553b6fc44478b7 /src/p2p/connection_basic.cpp
parentprint limits when running limit commands with no arguments (diff)
downloadmonero-f278fe3883f7d708082a19856eda02fddaf2fc56.tar.xz
s/terget/target/
Diffstat (limited to '')
-rw-r--r--src/p2p/connection_basic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/p2p/connection_basic.cpp b/src/p2p/connection_basic.cpp
index adf159dc0..d3f6415c5 100644
--- a/src/p2p/connection_basic.cpp
+++ b/src/p2p/connection_basic.cpp
@@ -203,7 +203,7 @@ uint64_t connection_basic::get_rate_up_limit() {
uint64_t limit;
{
CRITICAL_REGION_LOCAL( network_throttle_manager::m_lock_get_global_throttle_out );
- limit = network_throttle_manager::get_global_throttle_out().get_terget_speed();
+ limit = network_throttle_manager::get_global_throttle_out().get_target_speed();
}
return limit;
}
@@ -212,7 +212,7 @@ uint64_t connection_basic::get_rate_down_limit() {
uint64_t limit;
{
CRITICAL_REGION_LOCAL( network_throttle_manager::m_lock_get_global_throttle_in );
- limit = network_throttle_manager::get_global_throttle_in().get_terget_speed();
+ limit = network_throttle_manager::get_global_throttle_in().get_target_speed();
}
return limit;
}
@@ -224,12 +224,12 @@ void connection_basic::save_limit_to_file(int limit) {
{
CRITICAL_REGION_LOCAL( network_throttle_manager::m_lock_get_global_throttle_out );
- epee::net_utils::data_logger::get_instance().add_data("upload_limit", network_throttle_manager::get_global_throttle_out().get_terget_speed() / 1024);
+ epee::net_utils::data_logger::get_instance().add_data("upload_limit", network_throttle_manager::get_global_throttle_out().get_target_speed() / 1024);
}
{
CRITICAL_REGION_LOCAL( network_throttle_manager::m_lock_get_global_throttle_in );
- epee::net_utils::data_logger::get_instance().add_data("download_limit", network_throttle_manager::get_global_throttle_in().get_terget_speed() / 1024);
+ epee::net_utils::data_logger::get_instance().add_data("download_limit", network_throttle_manager::get_global_throttle_in().get_target_speed() / 1024);
}
}