aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Herranz <miguel@ipglider.org>2017-02-02 22:05:31 +0100
committerMiguel Herranz <miguel@ipglider.org>2017-02-02 22:05:31 +0100
commit03ff363982425903b01709306b21817f98fc0b1f (patch)
tree3f33330e70e96becf9ba4441c26ccb73182e0ff8
parentMerge pull request #1663 (diff)
downloadmonero-03ff363982425903b01709306b21817f98fc0b1f.tar.xz
Fix missing parentheses
-rw-r--r--src/daemon/rpc_command_executor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 2bcfd7a95..f7d85b5ef 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -381,8 +381,8 @@ bool t_rpc_command_executor::show_status() {
% (unsigned)ires.outgoing_connections_count
% (unsigned)ires.incoming_connections_count
% (unsigned int)floor(uptime / 60.0 / 60.0 / 24.0)
- % (unsigned int)floor(fmod((uptime / 60.0 / 60.0), 24.0)
- % (unsigned int)floor(fmod((uptime / 60.0), 60.0)
+ % (unsigned int)floor(fmod((uptime / 60.0 / 60.0), 24.0))
+ % (unsigned int)floor(fmod((uptime / 60.0), 60.0))
% (unsigned int)fmod(uptime, 60.0)
;