Merge pull request #1666

03ff3639 Fix missing parentheses (Miguel Herranz)
This commit is contained in:
Riccardo Spagni 2017-02-04 17:26:19 +02:00
commit c3c281e699
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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)
;