summaryrefslogtreecommitdiffstats
path: root/Meter.h
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2023-10-10 20:07:57 +0800
committerBenBE <BenBE@geshi.org>2023-10-10 21:57:39 +0200
commit83041f3550ee5bb83b6f9c4dcae90d59b33e0fb5 (patch)
treefc08b831b68e1eb762af71aa005826687d865235 /Meter.h
parent1a9ae38b5b8454a32863aa24bf2546be54f4b558 (diff)
Cap the maximum size of GraphData buffer to 32768 values.
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Diffstat (limited to 'Meter.h')
-rw-r--r--Meter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meter.h b/Meter.h
index c0a44338..e0ca1f07 100644
--- a/Meter.h
+++ b/Meter.h
@@ -20,6 +20,7 @@ in the source distribution for its full text.
#define METER_TXTBUFFER_LEN 256
+#define MAX_METER_GRAPHDATA_VALUES 32768
#define METER_BUFFER_CHECK(buffer, size, written) \
do { \

© 2014-2024 Faster IT GmbH | imprint | privacy policy