diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-04 17:26:19 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-04 17:26:19 +0200 |
commit | c3c281e699fd6545cee41160cf937f8276e0d480 (patch) | |
tree | 68b5aa79d9c1c7a0ccc4ee1d02e2fa026e54f90b /src | |
parent | Merge pull request #1665 (diff) | |
parent | Fix missing parentheses (diff) | |
download | monero-c3c281e699fd6545cee41160cf937f8276e0d480.tar.xz |
Merge pull request #1666
03ff3639 Fix missing parentheses (Miguel Herranz)
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 4 |
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) ; |