From a49c416c8124f327d526a74a177d3d7b5b5f31fa Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 19 Aug 2019 21:14:58 +0200 Subject: [PATCH] Renamed HTTP_HEAD to HTTP_HEADER --- sonoff/xdrv_01_webserver.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonoff/xdrv_01_webserver.ino b/sonoff/xdrv_01_webserver.ino index 9a30d8a95..351e8dce9 100644 --- a/sonoff/xdrv_01_webserver.ino +++ b/sonoff/xdrv_01_webserver.ino @@ -48,7 +48,7 @@ enum UploadTypes { UPL_TASMOTA, UPL_SETTINGS, UPL_EFM8BB1 }; static const char * HEADER_KEYS[] = { "User-Agent", }; -const char HTTP_HEAD[] PROGMEM = +const char HTTP_HEADER[] PROGMEM = "" "" "" @@ -753,7 +753,7 @@ void WSContentStart_P(const char* title, bool auth) if (title != nullptr) { char ctitle[strlen_P(title) +1]; strcpy_P(ctitle, title); // Get title from flash to RAM - WSContentSend_P(HTTP_HEAD, Settings.friendlyname[0], ctitle); + WSContentSend_P(HTTP_HEADER, Settings.friendlyname[0], ctitle); } }