summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'statistics.c')
-rw-r--r--statistics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/statistics.c b/statistics.c
index a39799a08..502c06cb4 100644
--- a/statistics.c
+++ b/statistics.c
@@ -668,6 +668,7 @@ static void get_ranges(char *buffer, int size)
}
}
}
+ len = strlen(buffer);
if (first != last) {
if (first + 1 == last)
snprintf(buffer + len, size - len, ", %d", last);