aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-01-15 15:00:20 +0200
committerRiccardo Spagni <ric@spagni.net>2016-01-15 15:00:20 +0200
commitb085fbc667f453085d174e8a33f84e1c84ab3b19 (patch)
tree4befded2fd3be16de278d426a5df03009cf8be4b /src/daemon
parentMerge pull request #608 (diff)
parent'max limit of...' is redundant wording, rephrase (diff)
downloadmonero-b085fbc667f453085d174e8a33f84e1c84ab3b19.tar.xz
Merge pull request #609
0100e95 'max limit of...' is redundant wording, rephrase (binaryFate) 80e3889 Print msg when successfully updating out_peers (binaryFate)
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/command_server.cpp2
-rw-r--r--src/daemon/rpc_command_executor.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp
index 8f434c89a..f99b0844a 100644
--- a/src/daemon/command_server.cpp
+++ b/src/daemon/command_server.cpp
@@ -177,7 +177,7 @@ t_command_server::t_command_server(
m_command_lookup.set_handler(
"out_peers"
, std::bind(&t_command_parser_executor::out_peers, &m_parser, p::_1)
- , "Set max limit of out peers"
+ , "Set max number of out peers"
);
m_command_lookup.set_handler(
"start_save_graph"
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index fc06c858b..edf04bc82 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -964,6 +964,8 @@ bool t_rpc_command_executor::out_peers(uint64_t limit)
}
}
+ std::cout << "Max number of out peers set to " << limit << std::endl;
+
return true;
}