r85438 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85437‎ | r85438 | r85439 >
Date:15:07, 5 April 2011
Author:platonides
Status:ok (Comments)
Tags:
Comment:
Make hours smaller!
r84782 follow-up.
Modified paths:
  • /trunk/extensions/PoolCounter/daemon/stats.c (modified) (history)

Diff [purge]

Index: trunk/extensions/PoolCounter/daemon/stats.c
@@ -80,6 +80,7 @@
8181
8282 if ( hours >= 24 ) {
8383 unsigned int days = hours / 24;
 84+ hours %= 24;
8485
8586 n += snprintf( dst + n, max - n, "%u days ", days );
8687 if ( max < n ) return 0;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84782Added timing statisticsplatonides00:18, 26 March 2011

Comments

#Comment by Reedy (talk | contribs)   17:13, 5 April 2011

Can you make days longer?

Status & tagging log