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 @@
81
81
82
82
if ( hours >= 24 ) {
83
83
unsigned int days = hours / 24;
84
+ hours %= 24;
84
85
85
86
n += snprintf( dst + n, max - n, "%u days ", days );
86
87
if ( max < n ) return 0;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r84782
Added timing statistics
platonides
00:18, 26 March 2011
Comments
#
Comment by
Reedy
(
talk
|
contribs
)
17:13, 5 April 2011
Can you make days longer?
Status & tagging log
21:38, 5 July 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r85438
[
removed:
new
added:
ok]