From 72a9ec885ad3d77d50d2f797b9fd458365a1a7df Mon Sep 17 00:00:00 2001 From: Martin Dummer Date: Sat, 2 Jun 2018 10:13:26 +0200 Subject: [PATCH] html_api.h: remove blanks from message log line numbers --- html_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html_api.h b/html_api.h index f3bc6a1..97174d2 100644 --- a/html_api.h +++ b/html_api.h @@ -72,14 +72,14 @@ void html_api(){ if (cmd == "eventlog"){ String values =""; String counter; - for( int i = 0; i < NUM_WEB_LOG_MESSAGES; ++i ){ + for( int i = 0; i < NUM_WEB_LOG_MESSAGES; i++ ){ if (web_log_message[i] != ""){ if ((i+1) < 10) { counter = "0" + String(i + 1); }else { counter = String(i + 1); } - values += counter + " -" + web_log_message[i] + "\n"; + values += counter + "-" + web_log_message[i] + "\n"; } } server.send ( 200, "text/plain", values );