Fix misc styleguide issues and add missing header files

Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
This commit is contained in:
Sohaib Mohamed
2021-10-26 13:07:24 +02:00
committed by Nathan Scott
parent b672e60886
commit ba3a1df806
5 changed files with 17 additions and 12 deletions

View File

@ -166,7 +166,7 @@ bool PCPMetric_fetch(struct timeval* timestamp) {
}
int sts, count = 0;
do {
sts = pmFetch(pcp->totalMetrics, pcp->fetch, &pcp->result);
sts = pmFetch(pcp->totalMetrics, pcp->fetch, &pcp->result);
} while (sts == PM_ERR_IPC && ++count < 3);
if (sts < 0) {
if (pmDebugOptions.appl0)