summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2021-06-02 15:47:15 +0300
committerGitHub <noreply@github.com>2021-06-02 15:47:15 +0300
commit83519b5df70bb20f7bc5a8f19209c4bb881d4831 (patch)
treee62de483b26c0581edafe520eee756a4f50c2c4f /health
parent428f5d0012f2c0a439ef900266de467dac819b9f (diff)
Check for non ascii characters in health log (#11193)
* check for non ascii characters in health log * use c for check * correct check of c * use unsigned char * remove check for non-ascii
Diffstat (limited to 'health')
-rw-r--r--health/health_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health_log.c b/health/health_log.c
index de0a0883bf..bb9416fd2f 100644
--- a/health/health_log.c
+++ b/health/health_log.c
@@ -368,7 +368,7 @@ static inline ssize_t health_alarm_log_read(RRDHOST *host, FILE *fp, const char
ae->last_repeat = last_repeat;
- if (likely(entries > 28)) {
+ if (likely(entries > 30)) {
freez(ae->classification);
ae->classification = strdupz(pointers[28]);
if(!*ae->classification) { freez(ae->classification); ae->classification = NULL; }