A fix for long uptimes, sent my Marc Cahalan

This commit is contained in:
Hisham Muhammad 2006-08-30 04:37:20 +00:00
parent cc5af25e11
commit ef5b27f33a

View File

@ -44,7 +44,7 @@ void UptimeMeter_setValues(Meter* this, char* buffer, int len) {
if (days > this->total) {
this->total = days;
}
char daysbuf[10];
char daysbuf[15];
if (days > 100) {
sprintf(daysbuf, "%d days(!), ", days);
} else if (days > 1) {