Merge pull request #6262 from s-hadinger/fix_http_head

Renamed HTTP_HEAD to HTTP_HEADER
This commit is contained in:
Theo Arends 2019-08-20 09:29:16 +02:00 committed by GitHub
commit e04bea8768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 =
"<!DOCTYPE html><html lang=\"" D_HTML_LANGUAGE "\" class=\"\">"
"<head>"
"<meta charset='utf-8'>"
@ -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);
}
}