From 03ff363982425903b01709306b21817f98fc0b1f Mon Sep 17 00:00:00 2001 From: Miguel Herranz Date: Thu, 2 Feb 2017 22:05:31 +0100 Subject: [PATCH] Fix missing parentheses --- src/daemon/rpc_command_executor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 2bcfd7a9..f7d85b5e 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) ;