Fix typo
This commit is contained in:
@@ -212,7 +212,7 @@ mxml_node_t* generate_index() {
|
||||
for (; !iterator_equals(&count_it, &peroid_end); iterator_increment(&count_it)) {
|
||||
struct StatusPeroid* peroid = *(struct StatusPeroid**)iterator_get(&count_it);
|
||||
if (earliest_time == 0) earliest_time = peroid->time;
|
||||
else if (peroid->time <= (now - (long)retension * 1000000)) {
|
||||
else if (peroid->time <= (now - (long)retention * 1000000)) {
|
||||
earliest_time = peroid->time;
|
||||
} else col_count++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user