mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-23 11:17:11 +02:00
0.8.77
* merge PR: BugFix: ACK #1414 * fix suspicious if condition #1416 * prepared API token for access, not functional #1415
This commit is contained in:
parent
d4a4f9cfb6
commit
15349520d2
9 changed files with 98 additions and 23 deletions
|
@ -782,7 +782,7 @@ class Web {
|
|||
// report value
|
||||
if (0 == channel) {
|
||||
// Report a _total value if also channel values were reported. Otherwise report without _total
|
||||
char total[7];
|
||||
char total[7] = {0};
|
||||
if (metricDeclared) {
|
||||
// A declaration and value for channels have been delivered. So declare and deliver a _total metric
|
||||
snprintf(total, sizeof(total), "_total");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue